Settings_Clusters_Software_ApplySpec

Settings_Clusters_Software_ApplySpec
Settings_Clusters_Software_ApplySpec

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

JSON Example
{
    "commit": "string",
    "hosts": [
        "string"
    ],
    "accept_eula": false
}
string
commit
Optional

The minimum commit identifier of the desired software document to be used during the Software.apply operation. 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.

array of string
hosts
Optional

The specific hosts within the cluster to be considered during the Software.apply operation. if unset or empty the Software.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.

boolean
accept_eula
Optional

Accept the VMware End User License Agreement (EULA) before starting the Software.apply operation. The VMware EULA is available for download at, https://www.vmware.com/download/eula.html if unset the Software.apply operation could fail due to the EULA not being accepted.