Host System Exit Maintenance Mode Task
Takes the host out of maintenance mode.
This blocks if any concurrent running maintenance-only host configurations operations are being performed. For example, if VMFS volumes are being upgraded.
The task is cancellable.
Required privileges: Host.Config.Maintenance
The unique identifier for the managed object to which the method attaches; the serialized managed object reference for a request has the form moType/moId
, in this case HostSystem/{moId}
.
The vSphere release schema. The current specification covers vSphere 8.0.2.0 APIs.
"ExitMaintenanceModeRequestType Object"
Number of seconds to wait for the exit maintenance mode to succeed. If the timeout is less than or equal to zero, there is no timeout.
This method returns a Task object with which to monitor the operation.
"MoRefTask Object"
InvalidState: if the host is not in maintenance mode.
"VimFault Object"
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/sdk/vim25/{release}/HostSystem/{moId}/ExitMaintenanceMode_Task