Vim Cluster Vsan Vc Disk Management System Vsan Unmount Storage Pool Disks

Vim Cluster Vsan Vc Disk Management System Vsan Unmount Storage Pool Disks

This API can be used to unmount a single or multiple disks from the storage pool.

The disk(s) can be specified by their uniquely identifiable disk UUID. Storage pool disk(s) will be unmounted with the specified data evacuation mode. Unmount a storage pool disk may cause data movement so a disk data evacuation resource check VsanPerformResourceCheck will be done before unmounting each storage pool disk.

Required privileges: Host.Config.Storage

Request
URI
POST
https://{api_host}/sdk/vim25/{release}/vsan/VimClusterVsanVcDiskManagementSystem/{moId}/VsanUnmountStoragePoolDisks
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
VsanUnmountStoragePoolDisksRequestType of type(s) application/json
Required
"VsanUnmountStoragePoolDisksRequestType Object"
cluster
Required

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

spec
Required

The specification to unmount vSAN storage pool. Please reference to VimVsanHostDeleteStoragePoolDiskSpec.

Authentication
This operation uses the following authentication methods.
Responses
200

OK

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 storage disk 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}/VsanUnmountStoragePoolDisks