GuestConfigurationSpec

The ConfigurationSpec structure specifies the settings for customizing a guest operating system.


Properties

Required Property Name Type Description
optional linux_config GuestLinuxConfiguration

Guest customization specification for a linux guest operating system If unset, ConfigurationSpec.windows-config must be set. Otherwise, an appropriate fault will be thrown.

optional windows_config GuestWindowsConfiguration

Guest customization specification for a Windows guest operating system If unset, ConfigurationSpec.linux-config must be set. Otherwise, an appropriate fault will be thrown.

JSON Example

{
    "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"
    }
}
Feedback

Was this page helpful?