Users Guide

}
],
Run remediation pre-check
Command: POST https://{VC IP/FQDN}/api/esx/settings/clusters/{cluster ID}/software?vmw-task=true&action=check
Description: Runs checks on the cluster before applying the desired state across all hosts in the cluster. Checks if all hosts in
the cluster are in a good state to be updated with the desired state.
HTTP response codes: 200. For the list of all the response codes, see Response codes on page 173.
Example response:
{task-id}
Get remediation pre-check task status
Command: GET https://{VC IP/FQDN}/rest/cis/tasks/{task ID}
Description: Returns information about a task.
HTTP response code: 200. For the list of all the response codes, see Response codes on page 173.
Example response:
{
"value":
{
"parent": "",
"cancelable": true,
"end_time": "2020-02-12T18:03:59.391Z",
"description":
{
"args": [],
"default_message": "Task created by VMware vSphere Lifecycle Manager",
"id": "com.vmware.vcIntegrity.lifecycle.Task.Description"
},
"target":
{
"id": "domain-c8",
"type": "ClusterComputeResource"
},
"result":
{
"start_time": "2020-02-12T17:52:09.264Z",
"commit": "",
"end_time": "2020-02-12T18:03:59.386Z",
"entity_results":
[
{
"host": "host-47",
"type": "HOST",
"check_statuses": [],
"status": "OK"
}
{
"host": "host-41",
"type": "HOST",
"check_statuses": [],
"status": "OK"
},
{
"host": "host-22",
"type": "HOST",
"check_statuses": [],
"status": "OK"
},
{
Host Management
141