Vim Cluster Vsan Vc Disk Management System Remove Disk Mapping Ex
Remove vSAN disk mapping(s) from use in a vSAN cluster with the specified data evacuation mode.
Disk mapping(s) will be removed one by one with the specified data evacuation mode. Removing a disk mapping may cause data movement so a disk data evacuation resource check VsanPerformResourceCheck will be done before removing each disk mapping.
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 VimClusterVsanVcDiskManagementSystem/{moId}
.
The vSphere release schema. The current specification covers vSphere 9.0.0.0 APIs.
"RemoveDiskMappingExRequestType Object"
The vSAN cluster which owns the given disk mapping(s).
Required privileges: Host.Config.Storage
List of disk mapping(s) to be removed.
Specifies the data evacuation mode.
A task to monitor the progress of disk mapping(s) removal operation. Upon successful completion of the returned task, its result field will be populated with a VsanHostDiskMapResult[] filled with details for each disk mapping.
"MoRefTask Object"
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/sdk/vim25/{release}/vsan/VimClusterVsanVcDiskManagementSystem/{moId}/RemoveDiskMappingEx