esx settings clusters software: apply spec

The apply_spec structure contains fields that describe the specification to be used for applying the desired software document to a cluster.

Representation:

{
    "hosts"[
        "obj-103",
        "obj-103"
    ],
    "commit""obj-103",
    "accept_eula"true
}

Attributes:

Name Type Description
Optional
commit string The minimum commit identifier of the desired software document to be used during the apply operation.

Optional. if unset or empty the apply operation will use the latest commit to fetch the desired state document.When clients pass a value of this structure as a parameter, the field must be an identifier for the resource type: com.vmware.esx.settings.commit. When operations return a value of this structure as a result, the field will be an identifier for the resource type: com.vmware.esx.settings.commit.

hosts string[] The specific hosts within the cluster to be considered during the apply operation.

Optional. if unset or empty the apply operation will remediate all hosts within the cluster.When clients pass a value of this structure as a parameter, the field must contain identifiers for the resource type: HostSystem. When operations return a value of this structure as a result, the field will contain identifiers for the resource type: HostSystem.

accept_eula boolean Accept the VMware End User License Agreement (EULA) before starting the apply operation. The VMware EULA is available for download at, https://www.vmware.com/download/eula.html

Optional. if unset the apply operation could fail due to the EULA not being accepted.