Vim Cluster Vsan Vc Disk Management System Vsan Add Storage Pool Disk
This API can be used to add new disk(s) to the storage pool for vSAN ESA consumption.
If StoragePoolDiskType is specified as 'SingleTier', disks will be added to 'Single Tier' storagepool. Eligible disks for storagepool can be queried from 'QueryDisksForVsan' QueryDisksForVsan.
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.0.0.0 APIs.
"VsanAddStoragePoolDiskRequestType Object"
The specifications to add disks to vSAN storage pool. Please reference to VimVsanHostAddStoragePoolDiskSpec. Multiple specs can be used by AddStoragePoolDisks to add disks on different hosts in one API call. All hosts should in same vSAN cluster.
VsanFault: If below issues exist:
- Specified host doesn't exist;
- User doesn't have Host.Config.Storage privilege on specified host;
- Specified host is not connected to vCenter server;
- If none of specified disks for storage pool is eligible for vSAN ESA;
"VsanFault Object"
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/sdk/vim25/{release}/vsan/VimClusterVsanVcDiskManagementSystem/{moId}/VsanAddStoragePoolDisk