HostVirtualNicConnection
DataObject which provides a level of indirection when identifying VirtualNics during configuration.
This dataObject lets users specify a VirtualNic in terms of the portgroup/Dv Port the Virtual NIC is connected to. This is useful in cases where VirtualNic will be created as part of a configuration operation and the created VirtualNic is referred to in some other part of configuration. e.g: for configuring VMotion
{
"_typeName": "string",
"portgroup": "string",
"dvPort": {
"_typeName": "string",
"switchUuid": "string",
"portgroupKey": "string",
"portKey": "string",
"connectionCookie": 0
},
"opNetwork": {
"_typeName": "string",
"opaqueNetworkId": "string",
"opaqueNetworkType": "string"
}
}
Name of the portgroup to which the virtual nic is connected to.
If this parameter is set, use a virtual nic connected to a legacy portgroup.
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)
The HostVirtualNicOpaqueNetworkSpec data object describes the opaque network(HostOpaqueNetworkInfo) configuration used by virtual NIC.