vcenter vm hardware ethernet: info
The
info
structure contains information about a virtual Ethernet adapter.Representation:
{
"start_connected" : true,
"pci_slot_number" : 1,
"backing" : {
"connection_cookie" : 1,
"distributed_switch_uuid" : "string",
"distributed_port" : "string",
"network_name" : "string",
"opaque_network_type" : "string",
"type" : "STANDARD_PORTGROUP",
"host_device" : "string",
"opaque_network_id" : "string",
"network" : "obj-103"
},
"mac_address" : "string",
"mac_type" : "MANUAL",
"allow_guest_control" : true,
"wake_on_lan_enabled" : true,
"state" : "CONNECTED",
"label" : "string",
"type" : "E1000",
"upt_compatibility_enabled" : true
}
"start_connected" : true,
"pci_slot_number" : 1,
"backing" : {
"connection_cookie" : 1,
"distributed_switch_uuid" : "string",
"distributed_port" : "string",
"network_name" : "string",
"opaque_network_type" : "string",
"type" : "STANDARD_PORTGROUP",
"host_device" : "string",
"opaque_network_id" : "string",
"network" : "obj-103"
},
"mac_address" : "string",
"mac_type" : "MANUAL",
"allow_guest_control" : true,
"wake_on_lan_enabled" : true,
"state" : "CONNECTED",
"label" : "string",
"type" : "E1000",
"upt_compatibility_enabled" : true
}
Attributes:
Name | Type | Description |
---|---|---|
Required | ||
label | string | Device label. |
type | string | Ethernet adapter emulation type. Defines the valid emulation types for a virtual Ethernet adapter. Value is one of: E1000: E1000 ethernet adapter. E1000E: E1000e ethernet adapter. PCNET32: AMD Lance PCNet32 Ethernet adapter. VMXNET: VMware Vmxnet virtual Ethernet adapter. VMXNET2: VMware Vmxnet2 virtual Ethernet adapter. VMXNET3: VMware Vmxnet3 virtual Ethernet adapter. |
mac_type | string | MAC address type. Defines the valid MAC address origins for a virtual Ethernet adapter. Value is one of: MANUAL: MAC address is assigned statically. GENERATED: MAC address is generated automatically. ASSIGNED: MAC address is assigned by vCenter Server. |
wake_on_lan_enabled | boolean | Flag indicating whether wake-on-LAN is enabled on this virtual Ethernet adapter. |
backing | backing_info | Physical resource backing for the virtual Ethernet adapter. |
backing.type | string | Backing type for the virtual Ethernet adapter. Defines the valid backing types for a virtual Ethernet adapter. Value is one of: 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. |
state | string | Connection status of the virtual device. Defines the valid states for a removable device that is configured to be connected. Value is one of: CONNECTED: The device is connected and working correctly. RECOVERABLE_ERROR: Device connection failed due to a recoverable error; for example, the virtual device backing is currently in use by another virtual machine. UNRECOVERABLE_ERROR: Device connection failed due to an unrecoverable error; for example, the virtual device backing does not exist. NOT_CONNECTED: The device is not connected. UNKNOWN: The device status is unknown. |
start_connected | boolean | Flag indicating whether the virtual device should be connected whenever the virtual machine is powered on. |
allow_guest_control | boolean | Flag indicating whether the guest can connect and disconnect the device. |
Optional | ||
upt_compatibility_enabled | boolean | Flag indicating whether Universal Pass-Through (UPT) compatibility is enabled on this virtual Ethernet adapter. Optional. It is only relevant when type has value VMXNET3. This field is optional and it is only relevant when the value of type is VMXNE_t3. |
mac_address | string | MAC address. Optional. May be unset if vcenter.vm.hardware.ethernet.info.mac_type is MANUAL and has not been specified, or if vcenter.vm.hardware.ethernet.info.mac_type is GENERATED and the virtual machine has never been powered on since the Ethernet adapter was created. |
pci_slot_number | long | Address of the virtual Ethernet adapter on the PCI bus. If the PCI address is invalid, the server will change it when the VM is started or as the device is hot added. Optional. May be unset if the virtual machine has never been powered on since the adapter was created. |
backing.network | string | Identifier of the network backing the virtual Ethernet adapter. Optional. It is only relevant when type has value [STANDARD_PORTGROUP, DISTRIBUTED_PORTGROUP, OPAQUE_NETWORK]. If unset, 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 . |
backing.network_name | string | Name of the standard portgroup backing the virtual Ethernet adapter. Optional. It is only relevant when type has value STANDARD_PORTGROUP. This field is optional and it is only relevant when the value of type is STANDARD_PORTGROUP. |
backing.host_device | string | Name of the device backing the virtual Ethernet adapter. Optional. It is only relevant when type has value HOST_DEVICE. This field is optional and it is only relevant when the value of type is HOST_DEVICE. |
backing.distributed_switch_uuid | string | UUID of the distributed virtual switch that backs the virtual Ethernet adapter. Optional. It is only relevant when type has value DISTRIBUTED_PORTGROUP. This field is optional and it is only relevant when the value of type is DISTRIBUTED_PORTGROUP. |
backing.distributed_port | string | Key of the distributed virtual port that backs the virtual Ethernet adapter. Optional. It is only relevant when type has value DISTRIBUTED_PORTGROUP. This field will be unset if the virtual Ethernet device is not bound to a distributed virtual port; this can happen if the virtual machine is powered off or the virtual Ethernet device is not connected. |
backing.connection_cookie | long | Server-generated cookie that identifies the connection to the port. This ookie may be used to verify that the virtual machine is the rightful owner of the port. Optional. It is only relevant when type has value DISTRIBUTED_PORTGROUP. This field will be unset if the virtual Ethernet device is not bound to a distributed virtual port; this can happen if the virtual machine is powered off or the virtual Ethernet device is not connected. |
backing.opaque_network_type | string | Type of the opaque network that backs the virtual Ethernet adapter. Optional. It is only relevant when type has value OPAQUE_NETWORK. This field is optional and it is only relevant when the value of type is OPAQUE_NETWORK. |
backing.opaque_network_id | string | Identifier of the opaque network that backs the virtual Ethernet adapter. Optional. It is only relevant when type has value OPAQUE_NETWORK. This field is optional and it is only relevant when the value of type is OPAQUE_NETWORK. |