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 9.0.0.0 APIs.
"EvacuateVsanNodeRequestType Object"
Specifies the data evacuation mode. See HostMaintenanceSpec. If unspecified, the default mode chosen will be ensureObjectAccessibility.
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"
Fault which is the cause of this fault.
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}/vsan/HostVsanSystem/{moId}/EvacuateVsanNode_Task