Pre Upgrade Host Planned Maintenance
This API will accept the host identification information(vCenter instance uuid and host moref id). Will execute the host and edge pre-checks that ensure host is ok to enter maintenance mode. The progress and status of upgrade unit returns status OK, if check has passed. Otherwise will return the NOT_OK. if status returns WAIT, In that case system expects client to wait and poll the API after every 1 minute till checks reach terminal state OK or NOT_OK after 8 minutes.
{
"entity-id": "string",
"vcenter-uuid": "string"
}
Unique identifier of host moref.
Instance uuid of vCenter. To get the instance id refer the instanceUuid field of https://<nsx-mgr>/api/v1/fabric/compute-managers API response.
OK
"PreUpgradeHostHealthCheckStatuses Object"
List of pre check statuses.
Aggregated status of all individual checks. It will be OK only when all executed checks return OK.
Duration in milliseconds to wait before issuing status check again. This field is optional and is only populated when status is WAIT.
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"entity-id:"string","vcenter-uuid:"string"}' https://{api_host}/api/v1/upgrade/pre-upgrade-checks/host/planned-maintenance