VmTemplateLibraryItemsEthernetInfo
The LibraryItems.EthernetInfo structure contains information about a virtual machine template’s virtual Ethernet adapter.
Properties
The LibraryItems.EthernetInfo.NetworkBackingType enumerated type defines valid network backing types for a virtual Ethernet adapter.
STANDARD_PORTGROUP : vSphere standard portgroup network backing.
HOST_DEVICE : Legacy host device network backing. Imported VMs may have virtual Ethernet adapters with this type of backing, but this type of backing cannot be used to create or to update a virtual Ethernet adapter.
DISTRIBUTED_PORTGROUP : Distributed virtual switch backing.
OPAQUE_NETWORK : Opaque network backing.
Possible values are: STANDARD_PORTGROUP , HOST_DEVICE , DISTRIBUTED_PORTGROUP , OPAQUE_NETWORK
The LibraryItems.EthernetInfo.MacAddressType enumerated type defines the valid MAC address origins for a virtual Ethernet adapter.
MANUAL : MAC address is assigned statically.
GENERATED : MAC address is generated automatically.
ASSIGNED : MAC address is assigned by vCenter Server.
Possible values are: MANUAL , GENERATED , ASSIGNED
Identifier of the network backing the virtual Ethernet adapter. This field will be unset if the identifier of the network backing could not be determined. When clients pass a value of this structure as a parameter, the field must be an identifier for the resource type: Network. When operations return a value of this structure as a result, the field will be an identifier for the resource type: Network.
JSON Example
{
"backing_type": "STANDARD_PORTGROUP",
"mac_type": "MANUAL"
}