Vim Cluster Vsan Vc Disk Management System Unmount Disk Mapping Ex

Vim Cluster Vsan Vc Disk Management System Unmount Disk Mapping Ex

Unmount vSAN disk mapping(s) in a vSAN cluster with the specified data evacuation mode.

Disk mapping(s) will be unmounted one by one with the specified data evacuation mode. Unmount a disk mapping may cause data movement so a disk data evacuation resource check VsanPerformResourceCheck will be done before unmounting each disk mapping.

Request
URI
POST
https://{api_host}/sdk/vim25/{release}/vsan/VimClusterVsanVcDiskManagementSystem/{moId}/UnmountDiskMappingEx
COPY
Path Parameters
string
moId
Required

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}.

string
release
Required

The vSphere release schema. The current specification covers vSphere 9.0.0.0 APIs.


Request Body
UnmountDiskMappingExRequestType of type(s) application/json
Required
"UnmountDiskMappingExRequestType Object"
cluster
Required

The vSAN cluster which owns the given disk mapping(s).

Required privileges: Host.Config.Storage

array of object
mappings
Required

List of disk mapping(s) to be unmounted.

maintenanceSpec
Required

Specifies the data evacuation mode.

Authentication
This operation uses the following authentication methods.
Responses
200

A task to monitor the progress of disk mapping(s) unmount operation. Upon successful completion of the returned task, its result field will be populated with a VsanHostDiskMapResult[] filled with details for each disk mapping.

Returns MoRefTask of type(s) application/json
"MoRefTask Object"

500

VsanFault: If resource check completes with "red" status or any error happens during the resource check stage or actual disk mapping(s) unmount stage.

Returns VsanFault of type(s) application/json
"VsanFault Object"

Code Samples
COPY
                    curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/sdk/vim25/{release}/vsan/VimClusterVsanVcDiskManagementSystem/{moId}/UnmountDiskMappingEx