1. Types
2. vcenter
3. vm
4. hardware
5. ethernet

## vcenter vm hardware ethernet: update spec

The `update_spec` structure describes the updates to be made to the configuration of a virtual Ethernet adapter.

### Representations:

- JSON
- XML

{
"allow_guest_control": true,
"backing": {
"distributed_port": "string",
"network": "obj-103",
"type": "STANDARD_PORTGROUP"
},
"mac_address": "string",
"mac_type": "MANUAL",
"start_connected": true,
"upt_compatibility_enabled": true,
"wake_on_lan_enabled": true
}
<?xml version="1.0" ?>
<ns0:UpdateSpec xmlns:ns0="http://vmware.com/vcenter/vm/hardware/ethernet" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<mac_address>string</mac_address>
<upt_compatibility_enabled>true</upt_compatibility_enabled>
<mac_type>MANUAL</mac_type>
<allow_guest_control>true</allow_guest_control>
<backing>
<distributed_port>string</distributed_port>
<type>STANDARD_PORTGROUP</type>
<network>obj-103</network>
</backing>
<wake_on_lan_enabled>true</wake_on_lan_enabled>
<start_connected>true</start_connected>
</ns0:UpdateSpec>

#### Attributes:

Name | Type | Description
--- | --- | ---
Optional
upt_compatibility_enabled | boolean | Flag indicating whether Universal Pass-Through (UPT) compatibility should be enabled on this virtual Ethernet adapter. This field may be modified at any time, and changes will be applied the next time the virtual machine is powered on. Optional. If unset, the value is unchanged. Must be unset if the emulation type of the virtual Ethernet adapter is not VMXNE_t3.
mac_type | string | MAC address type. This field may be modified at any time, and changes will be applied the next time the virtual machine is powered on. Optional. If unset, the value is unchanged.
mac_address | string | MAC address. This field may be modified at any time, and changes will be applied the next time the virtual machine is powered on. Optional. If unset, the value is unchanged. Must be specified if vcenter.vm.hardware.ethernet.update_spec.mac_type is MANUAL. Must be unset if the MAC address type is not MANUAL.
wake_on_lan_enabled | boolean | Flag indicating whether wake-on-LAN shoud be enabled on this virtual Ethernet adapter. This field may be modified at any time, and changes will be applied the next time the virtual machine is powered on. Optional. If unset, the value is unchanged.
backing | backing_spec | Physical resource backing for the virtual Ethernet adapter. This field may be modified at any time, and changes will be applied the next time the virtual machine is powered on. Optional. If unset, the value is unchanged.
start_connected | boolean | Flag indicating whether the virtual device should be connected whenever the virtual machine is powered on. Optional. If unset, the value is unchanged.
allow_guest_control | boolean | Flag indicating whether the guest can connect and disconnect the device. Optional. If unset, the value is unchanged.