Guest_CustomizationSpecs_Spec

Guest_CustomizationSpecs_Spec
Guest_CustomizationSpecs_Spec

The CustomizationSpecs.Spec structure contains the specification information and specification object. This is passed to the CustomizationSpecs.set operation.

JSON Example
{
    "fingerprint": "string",
    "spec": {
        "configuration_spec": {
            "windows_config": {
                "reboot": "string",
                "sysprep": {
                    "gui_run_once_commands": [
                        "string"
                    ],
                    "user_data": {
                        "computer_name": {
                            "type": "string",
                            "fixed_name": "string",
                            "prefix": "string"
                        },
                        "full_name": "string",
                        "organization": "string",
                        "product_key": "string"
                    },
                    "domain": {
                        "type": "string",
                        "workgroup": "string",
                        "domain": "string",
                        "domain_username": "string",
                        "domain_password": "string"
                    },
                    "gui_unattended": {
                        "auto_logon": false,
                        "auto_logon_count": 0,
                        "password": "string",
                        "time_zone": 0
                    }
                },
                "sysprep_xml": "string"
            },
            "linux_config": {
                "hostname": "Guest_HostnameGenerator Object",
                "domain": "string",
                "time_zone": "string",
                "script_text": "string"
            }
        },
        "global_DNS_settings": {
            "dns_suffix_list": [
                "string"
            ],
            "dns_servers": [
                "string"
            ]
        },
        "interfaces": [
            {
                "mac_address": "string",
                "adapter": {
                    "ipv4": {
                        "type": "string",
                        "ip_address": "string",
                        "prefix": 0,
                        "gateways": [
                            "string"
                        ]
                    },
                    "ipv6": {
                        "type": "string",
                        "ipv6": [
                            {
                                "ip_address": "string",
                                "prefix": 0
                            }
                        ],
                        "gateways": [
                            "string"
                        ]
                    },
                    "windows": {
                        "dns_servers": [
                            "string"
                        ],
                        "dns_domain": "string",
                        "wins_servers": [
                            "string"
                        ],
                        "net_BIOS_mode": "string"
                    }
                }
            }
        ]
    },
    "description": "string",
    "name": "string"
}
string
fingerprint
Required

The fingerprint is a unique identifier for a given version of the configuration. Each change to the configuration will update this value. A client cannot change this value. If specified when updating a specification, the changes will only be applied if the current fingerprint matches the specified fingerprint. This field can be used to guard against updates that has happened between the specification content was read and until it is applied.

spec
Required

The CustomizationSpec structure contains information required to customize a virtual machine when deploying it or migrating it to a new host.

string
description
Required

Description of the specification.

string
name
Required

Name of the specification.