Host Vsan System Evacuate Vsan Node Task
Evacuate this host from VSAN cluster.
The task is cancellable.
Required privileges: Host.Config.Storage
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 HostVsanSystem/{moId}
.
The vSphere release schema. The current specification covers vSphere 8.0.2.0 APIs.
"EvacuateVsanNodeRequestType Object"
The HostMaintenanceSpec data object may be used to specify actions to be taken by a host upon entering maintenance mode.
If the HostMaintenanceSpec or any of its fields are omitted in a call to EnterMaintenanceMode_Task, default actions will be chosen as documented for each field's type.
See also EnterMaintenanceMode_Task, VsanHostDecommissionMode.
Time to wait for the task to complete in seconds. If the value is less than or equal to zero, there is no timeout. The operation fails with a Timedout exception if it timed out.
This method returns a Task object with which to monitor the operation.
"MoRefTask Object"
InvalidState: If the host is entering maintenance mode or evacuating data.
RequestCanceled: if the operation is canceled.
Timedout: if the operation timed out.
VsanFault: if operation fails with VSAN-specific error.
"MethodFault Object"
The base data object type for all the object model faults that an application might handle.
Message which has details about the error Message can also contain a key to message catalog which can be used to generate better localized messages.
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/sdk/vim25/{release}/HostVsanSystem/{moId}/EvacuateVsanNode_Task