NSX-T Data Center REST API
Execute checks before entering host into maintenance mode
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.
Request:
Method:
POST
URI Path(s):
/api/v1/upgrade/pre-upgrade-checks/host/planned-maintenance
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
PreUpgradeHealthCheckRequest+
Example Request:
{ "vcenter-uuid": "bd8f31e9-b9fa-45ff-86e7-4566d60d2245", "entity-id": "host-16" }Successful Response:
Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
PreUpgradeHostHealthCheckStatuses+