VmGuestCustomizationSetSpec

The Customization.SetSpec structure contains specification information that has to be applied to a virtual machine.


Properties

Required Property Name Type Description
optional name string

The name of the customization specification that has be retrieved from the virtual center inventory and applied for the virtual machine. Either one of Customization.SetSpec.name or Customization.SetSpec.spec or none of them should be specified. If unset and Customization.SetSpec.spec is also unset when executing Customization.set operationg, then any pending customization for the virtual machine will be cleared.

optional spec GuestCustomizationSpec

The customization specification that has to be applied for the virtual machine. Either one of Customization.SetSpec.name or Customization.SetSpec.spec or none of them should be specified. If unset and Customization.SetSpec.name is also unset when executing Customization.set operationg, then any pending customization for the virtual machine will be cleared.

JSON Example

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

Was this page helpful?