Esx.Settings.Hosts.Internal.DesiredState.Spec

Esx.Settings.Hosts.Internal.DesiredState.Spec
Esx.Settings.Hosts.Internal.DesiredState.Spec

The Esx.Settings.Hosts.Internal.DesiredState.Spec schema contains properties SoftwareSpec and ConnectionSpec.

This schema was added in vSphere API 8.0.0.1.

Note: this schema is restricted for VMware internal use only.

JSON Example
{
    "software_spec": {
        "base_image": {
            "version": "string"
        },
        "add_on": {
            "name": "string",
            "version": "string"
        },
        "components": {
            "components": "string"
        },
        "solutions": {
            "solutions": {
                "version": "string",
                "components": [
                    {
                        "component": "string"
                    }
                ]
            }
        },
        "hardware_support": {
            "packages": {
                "packages": {
                    "pkg": "string",
                    "version": "string"
                }
            }
        },
        "removed_components": [
            "string"
        ],
        "alternative_images": {
            "alternative_images": {
                "base_image": {
                    "version": "string"
                },
                "add_on": {
                    "name": "string",
                    "version": "string"
                },
                "components": {
                    "components": "string"
                },
                "solutions": {
                    "solutions": {
                        "version": "string",
                        "components": [
                            {
                                "component": "string"
                            }
                        ]
                    }
                },
                "hardware_support": {
                    "packages": {
                        "packages": {
                            "pkg": "string",
                            "version": "string"
                        }
                    }
                },
                "removed_components": [
                    "string"
                ],
                "display_name": "string",
                "selection_criteria": {
                    "selection_type": "string",
                    "host_uuids": [
                        "string"
                    ],
                    "host_hardware_spec": {
                        "vendor": "string",
                        "models": [
                            "string"
                        ],
                        "families": [
                            "string"
                        ],
                        "oem_strings": [
                            "string"
                        ]
                    }
                }
            }
        }
    },
    "connection_spec": {
        "authentication": "string",
        "username_password_credential": {
            "host_name": "string",
            "user_name": "string",
            "password": "string",
            "port": 0,
            "ssl_thumb_print": "string",
            "ssl_certificate": "string"
        }
    },
    "software_spec_id": "string"
}
software_spec
Required

Software spec that is to be associated with the host. Will enable Image Manager on this host.

This property was added in vSphere API 8.0.0.1.

connection_spec
Required

ConnectionSpec to authenticate connection to host

This property was added in vSphere API 8.0.0.1.

string
software_spec_id
Optional

ID of a software specification from the repository. The software spec will be used to enable vLCM on this host.

This property was added in vSphere API 9.0.0.0.

If missing or null, software specification from the repository will not be used to enable vLCM on the host.

When clients pass a value of this schema as a parameter, the property must be an identifier for the resource type: com.vmware.esx.settings.repository.software_spec. When operations return a value of this schema as a response, the property will be an identifier for the resource type: com.vmware.esx.settings.repository.software_spec.