Settings_Clusters_Software_StageSpec

Settings_Clusters_Software_StageSpec
Settings_Clusters_Software_StageSpec

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

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

The minimum commit identifier of the desired software document to be used during the Software.stage operation. if unset or empty the stage 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.stage operation. if unset or empty the Software.stage operation will stage 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.