Users Guide

Überprüfen des Aufgabenstatus vor der Korrektur
Befehl: GET https://{VC IP/FQDN}/rest/cis/tasks/{task ID}
Beschreibung: Gibt Informationen zu einer Aufgabe zurück.
HTTP-Antwortcodes: 200 Eine Liste aller Antwortcodes finden Sie unter Antwortcodes auf Seite 182.
Beispielantwort:
{
"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": "host-16",
"type": "HOST",
"check_statuses": [
{
"check":
{
"name":
{
"args": [],
"default_message": "Host Hardware support check.",
"id": "com.vmware.vcIntegrity.lifecycle.ClusterHealthCheckTask.HwSupportCheck.Name"
},
"description":
{
"args": [],
"default_message": "Checks if the hardware update can be performed.",
"id": "com.vmware.vcIntegrity.lifecycle.ClusterHealthCheckTask.HwSupportCheck.Description"
},
"check": "com.vmware.vcIntegrity.lifecycle.ClusterHealthCheckTask.HwSupportCheck"
},
Hostverwaltung
149