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
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.1.0.0 APIs.
Show optional properties
{
"cluster": {},
"spec": {}
}
{
"cluster": {
"_typeName": "string",
"type": "string",
"value": "string"
},
"spec": {
"_typeName": "string",
"diskUuids": [
"string"
],
"maintenanceSpec": {
"_typeName": "string",
"vsanMode": {
"_typeName": "string",
"objectAction": "string"
},
"purpose": "string",
"evacMode": {
"_typeName": "string",
"workloadNonDisruptive": false
}
}
}
}
The vSAN cluster which owns the given storage pool disk(s).
The specification to delete vSAN storage pool. Please reference to VimVsanHostDeleteStoragePoolDiskSpec.
OK
{
"_typeName": "string",
"type": "string",
"value": "string"
}
VsanFault: If any error happens during storage pool removal stage.
{
"_typeName": "string",
"faultCause": {
"_typeName": "string",
"faultCause": "MethodFault Object",
"faultMessage": [
{
"_typeName": "string",
"key": "string",
"arg": [
{
"_typeName": "string",
"key": "string",
"value": {
"_typeName": "string"
}
}
],
"message": "string"
}
]
},
"faultMessage": [
{
"_typeName": "string",
"key": "string",
"arg": [
{
"_typeName": "string",
"key": "string",
"value": {
"_typeName": "string"
}
}
],
"message": "string"
}
]
}
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"cluster":"{}","spec":"{}"}' https://{api_host}/sdk/vim25/{release}/vsan/VimClusterVsanVcDiskManagementSystem/{moId}/VsanDeleteStoragePoolDisk