Developer Documentation

SoftwareApplySpec

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


Properties

Required Property Name Type Description
optional accept_eula boolean

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.

optional commit string

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.

optional hosts array of string

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.

Feedback

Was this page helpful?