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

Optional operations (either LinuxOptions or WinOptions).

identity
Required

Network identity and settings, similar to Microsoft's Sysprep tool.

This is a Sysprep, LinuxPrep, CloudinitPrep, or SysprepText object.

globalIPSettings
Required

Global IP settings constitute the IP settings that are not specific to a particular virtual network adapter.

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.