HostVirtualNicConnection

HostVirtualNicConnection
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

AllOf
This class requires all of the following:
JSON Example
{
    "_typeName": "string",
    "portgroup": "string",
    "dvPort": {
        "_typeName": "string",
        "switchUuid": "string",
        "portgroupKey": "string",
        "portKey": "string",
        "connectionCookie": 0
    },
    "opNetwork": {
        "_typeName": "string",
        "opaqueNetworkId": "string",
        "opaqueNetworkType": "string"
    }
}
string
portgroup
Optional

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.

dvPort
Optional

The DistributedVirtualSwitchPortConnection data object represents a connection or association between a DistributedVirtualPortgroup or a DistributedVirtualPort and one of the following entities:

opNetwork
Optional

The HostVirtualNicOpaqueNetworkSpec data object describes the opaque network(HostOpaqueNetworkInfo) configuration used by virtual NIC.