Vim Cluster Vsan Vc Disk Management System Vsan Delete Storage Pool Disk

Vim Cluster Vsan Vc Disk Management System Vsan Delete Storage Pool Disk

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

The disk(s) can be specified by their uniquely identifiable disk uuid.

Required privileges: Host.Config.Storage

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

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

spec
Required

The specification to delete 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 any error happens during storage pool removal 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}/VsanDeleteStoragePoolDisk