CustomizationAdapterMapping

CustomizationAdapterMapping
CustomizationAdapterMapping

Data object type to associate a virtual network adapter with its IP settings.

AllOf
This class requires all of the following:
JSON Example
{
    "_typeName": "string",
    "macAddress": "string",
    "adapter": {
        "_typeName": "string",
        "ip": {
            "_typeName": "string"
        },
        "subnetMask": "string",
        "gateway": [
            "string"
        ],
        "ipV6Spec": {
            "_typeName": "string",
            "ip": [
                {
                    "_typeName": "string"
                }
            ],
            "gateway": [
                "string"
            ]
        },
        "dnsServerList": [
            "string"
        ],
        "dnsDomain": "string",
        "primaryWINS": "string",
        "secondaryWINS": "string",
        "netBIOS": "string"
    }
}
string
macAddress
Optional

The MAC address of a network adapter being customized.

The client cannot change this value because the guest operating system has no control over the MAC address of a virtual network adapter.

This property is optional. If it is not included, the customization process maps the settings from the list of AdapterMappings.IPSettings in the Specification.nicSettingMap to the virtual machine's network adapters, in PCI slot order. The first virtual network adapter on the PCI bus is assigned nicSettingMap[0].IPSettings, the second adapter is assigned nicSettingMap[1].IPSettings, and so on.

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

adapter
Required

IP settings for a virtual network adapter.