Vim Cluster Vsan Vc Disk Management System APIs

Vim Cluster Vsan Vc Disk Management System APIs

VimClusterVsanVcDiskManagementSystem enhances vSAN disk management part, provides vSAN all flash disk group support, exposes more detailed information of vSAN disk group, helps on configure and manage vSAN disk group.

It deprecates APIs AddDisks_Task and InitializeDisks_Task, exposes VimVsanHostDiskMapInfoEx through API QueryDiskMappings, to present whether a disk group is all flash, and whether deduplication and compression is enabled on this disk group, and deprecates diskMapping exposed by config.
The ManagedEntity can be accessed through MOID of vsan-disk-management-system, through vSAN service at vCenter server side.

Operations
POST
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.
POST
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.
POST
Vim Cluster Vsan Vc Disk Management System Initialize Disk Mappings
This API is used to create new vSAN disk groups or attach more disks into existing vSAN disk group on specified host.
POST
Vim Cluster Vsan Vc Disk Management System Query Cluster Data Efficiency Capacity State
Retrieve logical capacity, logical capacity used, physical capacity, physical capacity used and data efficiency metadata of a data efficiency enabled cluster.
POST
Vim Cluster Vsan Vc Disk Management System Query Disk Mappings
Get detailed information of vSAN disk groups managed by specified host, for each disk group, includes: Disk structure, presents as disk for cache tier, and disks for capacity tier; Whether is in-use for vSAN I/O by this host; Whether is all flash disk group; Whether vSAN deduplication and compression are enabled on this disk group.
POST
Vim Cluster Vsan Vc Disk Management System Query Vsan Managed Disks
Get detailed information of all vSAN managed disks, which include disk groups, storage pool disks in vSAN datastore and all of vSAN direct storages for the specified host.
POST
Vim Cluster Vsan Vc Disk Management System Rebuild Disk Mapping
This API is used to rebuild an existing vSAN disk mapping on the specified host.
POST
Vim Cluster Vsan Vc Disk Management System Remove Disk Ex
Remove vSAN capacity-tier disk(s) from use in a vSAN cluster with the specified data evacuation mode or remove vSAN direct disk(s).
POST
Vim Cluster Vsan Vc Disk Management System Remove Disk Mapping Ex
Remove vSAN disk mapping(s) from use in a vSAN cluster with the specified data evacuation mode.
POST
Vim Cluster Vsan Vc Disk Management System Retrieve All Flash Capabilities
Retrieve capabilities for hosts reside in specified cluster, to figure out whether all flash disk group is supported by hosts' ESXi softwares, and whether they are licensed.
POST
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.
POST
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.