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