GuestAdapterMapping

The AdapterMapping structure specifies the association between a virtual network adapter and its IP settings.


Properties

adapter Required

The IP settings for the associated virtual network adapter.


string
mac_address Optional

The MAC address of a network adapter being customized. In vSphere 7.0 series, the MAC addresses must be specified in the ascending order of pciSlotNumber, otherwise a MAC address mismatch error will be reported. For further details, see the https://kb.vmware.com/s/article/87648

If unset, the customization process maps the the settings from the list of AdapterMappings.IPSettings in the CustomizationSpec.interfaces to the virtual machine’s network adapters, in PCI slot order. The first virtual network adapter on the PCI bus is assigned interfaces[0].IPSettings, the second adapter is assigned interfaces[1].IPSettings, and so on.

JSON Example

{
	"adapter": {}
}

Feedback

Was this page helpful?