CustomizationSpec

CustomizationSpec
CustomizationSpec

The Specification data object type contains information required to customize a virtual machine when deploying it or migrating it to a new host.

AllOf
This class requires all of the following:
JSON Example
{
    "_typeName": "string",
    "options": {
        "_typeName": "string"
    },
    "identity": {
        "_typeName": "string"
    },
    "globalIPSettings": {
        "_typeName": "string",
        "dnsSuffixList": [
            "string"
        ],
        "dnsServerList": [
            "string"
        ]
    },
    "nicSettingMap": [
        {
            "_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"
            }
        }
    ],
    "encryptionKey": [
        0
    ]
}
options
Optional

Base object type for optional operations supported by the customization process.

identity
Required

Base type for sysprep, sysprepText, or linuxPrep object type.

globalIPSettings
Required

A collection of global IP settings for a virtual network adapter.

In Linux, DNS server settings are global. The settings can either be statically set or supplied by a DHCP server.

nicSettingMap
Optional

IP settings that are specific to a particular virtual network adapter.

The AdapterMapping object maps a network adapter's MAC address to its Adapter settings object. May be empty if there are no network adapters, else should match number of network adapters in the VM.

array of integer
encryptionKey
Optional

Byte array containing the public key used to encrypt any passwords stored in the specification.

Both the client and the server can use this to determine if stored passwords can be decrypted by the server or if the passwords need to be re-entered and re-encrypted before the specification can be used.