vcenter vm template library items: ethernet info
The
ethernet_info
structure contains information about a virtual machine template's virtual Ethernet adapter. Warning: This structure is available as technical preview. It may be changed in a future release.Representation:
{
"backing_type": "STANDARD_PORTGROUP",
"mac_type": "MANUAL",
"network": "obj-103"
}
"backing_type": "STANDARD_PORTGROUP",
"mac_type": "MANUAL",
"network": "obj-103"
}
Attributes:
Name | Type | Description |
---|---|---|
Required | ||
backing_type | string | Network backing type for the virtual Ethernet adapter. Warning: This attribute is available as technical preview. It may be changed in a future release. Defines valid network backing types for a virtual Ethernet adapter. Warning: This enumeration is available as technical preview. It may be changed in a future release. Value is one of: STANDARD_PORTGROUP: vSphere standard portgroup network backing. Warning: This constant is available as technical preview. It may be changed in a future release. 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. Warning: This constant is available as technical preview. It may be changed in a future release. DISTRIBUTED_PORTGROUP: Distributed virtual switch backing. Warning: This constant is available as technical preview. It may be changed in a future release. OPAQUE_NETWORK: Opaque network backing. Warning: This constant is available as technical preview. It may be changed in a future release. |
mac_type | string | MAC address type of the ethernet adapter. Warning: This attribute is available as technical preview. It may be changed in a future release. Defines the valid MAC address origins for a virtual Ethernet adapter. Warning: This enumeration is available as technical preview. It may be changed in a future release. Value is one of: MANUAL: MAC address is assigned statically. Warning: This constant is available as technical preview. It may be changed in a future release. GENERATED: MAC address is generated automatically. Warning: This constant is available as technical preview. It may be changed in a future release. ASSIGNED: MAC address is assigned by vCenter Server. Warning: This constant is available as technical preview. It may be changed in a future release. |
Optional | ||
network | string | Identifier of the network backing the virtual Ethernet adapter. Warning: This attribute is available as technical preview. It may be changed in a future release. Optional. 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 . |