Check Clusters Software Task
Released in v7.0.0Runs checks on the cluster before applying the desired software document across all hosts in the cluster. Checks if all hosts in the cluster are in a good state to be updated with the desired software document. If commit field is set it implies the minimum commit that the check operation should use, however if subsequent commits have been made to the desired state document the check operation will use the most recent desired state document. The result of this operation can be queried by calling the cis/tasks/{task-id} where the task-id is the response of this operation.
Request
URLURL
Parameters
Parameters
Header Parameters
Header Parameters
vmware-api-session-id Example
b00db39f948d13ea1e59b4d6fce56389
Request Body
SettingsClustersSoftwareCheckSpec of type application/json (required){
"commit": "string",
"hosts": [
"string"
]
}
The minimum commit identifier of the desired software document to be used during the check operation. if unset or empty the check opertion 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.
The specific hosts for which checks need to be performed if unset or empty checks are run for 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.
Response
Response BodyResponse Body
An identifier for the task created by this API invocation will be returned. If the non-async version of the operation returns a value, this id can be used with the CIS Get Task operation to fetch that value. The normal description of this operation’s return value will follow if one exists. The results of all checks performed.