github.com/vmware/go-vmware-nsxt@v0.0.0-20230223012718-d31b8a1ca05e/manager/port_connection_logical_switch.go (about) 1 /* Copyright © 2017 VMware, Inc. All Rights Reserved. 2 SPDX-License-Identifier: BSD-2-Clause 3 4 Generated by: https://github.com/swagger-api/swagger-codegen.git */ 5 6 package manager 7 8 import ( 9 "github.com/vmware/go-vmware-nsxt/common" 10 ) 11 12 type PortConnectionLogicalSwitch struct { 13 14 // Resource ID is mapped to this. (ID is Generated for Edge node groups, since resource will be null) 15 Id string `json:"id,omitempty"` 16 17 // Resource reference with details of the entity 18 Resource *common.ManagedResource `json:"resource,omitempty"` 19 20 // Logical Ports that are attached to a router 21 RouterPorts []LogicalPort `json:"router_ports,omitempty"` 22 23 // Logical Ports that are attached to a VIF/VM 24 VmPorts []LogicalPort `json:"vm_ports,omitempty"` 25 26 // Virutal Network Interfaces that are attached to the Logical Ports 27 VmVnics []VirtualNetworkInterface `json:"vm_vnics,omitempty"` 28 }