DistributedVirtualSwitchPortConnection
The DistributedVirtualSwitchPortConnection data object represents a connection or association between a DistributedVirtualPortgroup or a DistributedVirtualPort and one of the following entities:
- Virtual machine virtual NIC (VirtualEthernetCardDistributedVirtualPortBackingInfo)
- Host virtual NIC (HostVirtualNic)
- Physical NIC (HostNetworkInfo.pnic)
{
"_typeName": "string",
"switchUuid": "string",
"portgroupKey": "string",
"portKey": "string",
"connectionCookie": 0
}
Key of the portgroup.
If specified, the connection object represents a connection or an association between a DistributedVirtualPortgroup and a Virtual NIC or physical NIC. In this case, setting the portKey is not necessary for a early-binding portgroup and is not allowed for a late-binding portgroup. The portKey property will be populated by the implementation at the time of port binding.
Key of the port.
If specified, this object represents a connection or an association between an individual DistributedVirtualPort and a Virtual NIC or physical NIC. See portgroupKey for more information on populating this property.
Cookie that represents this DistributedVirtualSwitchPortConnection instance for the port.
The cookie value is generated by the Server. The Server ignores any value set by an SDK client.
The same cookie is present in the distributed virtual port configuration (DistributedVirtualPort.connectionCookie) so that the Server can verify that the entity is the rightful connectee of the port.