vSAN Management API
|
| Local Methods | ||
| Managed Object Types | Data Object Types | All Properties | All Methods |
Managed Object - VimClusterVsanVcDiskManagementSystem(vim.cluster.VsanVcDiskManagementSystem)
- See also
- ClusterComputeResource, HostMaintenanceSpec, HostSystem, Task, VimVsanDataEfficiencyCapacityState, VimVsanHostDiskMapInfoEx, VimVsanHostDiskMappingCreationSpec, VimVsanHostVsanHostCapability, VsanHostDiskMapping
- Since
- vSphere API 6.0
Managed Object Description
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.
Properties
| Name | Type | Description |
|---|---|---|
| None | ||
Methods
| Methods defined in this Managed Object |
|---|
| InitializeDiskMappings, QueryClusterDataEfficiencyCapacityState, QueryDiskMappings, RebuildDiskMapping, RetrieveAllFlashCapabilities |
InitializeDiskMappings(initializeDiskMappings)
This API is used to create new vSAN disk groups or attach more disks into existing vSAN disk group on specified host. It deprecates APIs AddDisks_Task and InitializeDisks_Task, to support creating both hybrid and all flash disk group. Scsi disks eligible for vSAN service, could be retrieved through API QueryDisksForVsan.- Required Privileges
- None
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the VimClusterVsanVcDiskManagementSystem used to make the method call. |
| spec P | VimVsanHostDiskMappingCreationSpec |
The specification to create vSAN disk group. Please
reference to VimVsanHostDiskMappingCreationSpec;
Since vSphere API 6.0 |
Return Value
| Type | Description |
|---|---|
| ManagedObjectReference
to a Task |
Faults
| Type | Description |
|---|---|
| RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
| VsanFault | Thrown if below issues exist:
|
Events
| Type | |
|---|---|
| None | |
Show WSDL type definition
QueryClusterDataEfficiencyCapacityState(queryClusterDataEfficiencyCapacityState)
Retrieve logical capacity, logical capacity used, physical capacity, physical capacity used and data efficiency metadata of a data efficiency enabled cluster.- Required Privileges
- None
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the VimClusterVsanVcDiskManagementSystem used to make the method call. |
| cluster P | ManagedObjectReference
to a ClusterComputeResource |
The target cluster.
Since vSphere API 6.0 |
Return Value
| Type | Description |
|---|---|
| VimVsanDataEfficiencyCapacityState |
Faults
| Type | Description |
|---|---|
| RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
| VsanFault |
Events
| Type | |
|---|---|
| None | |
Show WSDL type definition
QueryDiskMappings(queryDiskMappings)
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.- Required Privileges
- None
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the VimClusterVsanVcDiskManagementSystem used to make the method call. |
| host P | ManagedObjectReference
to a HostSystem |
Target host to query.
Since vSphere API 6.0 |
Return Value
| Type | Description |
|---|---|
| VimVsanHostDiskMapInfoEx[] | List of DiskMapInfoEx, please reference to VimVsanHostDiskMapInfoEx. |
Faults
| Type | Description |
|---|---|
| RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
| VsanFault | Thrown if below issues exist:
|
Events
| Type | |
|---|---|
| None | |
Show WSDL type definition
RebuildDiskMapping(rebuildDiskMapping)
This API is used to rebuild an existing vSAN disk mapping on the specified host. Rebuild disk mapping is done in two steps: 1. remove the existing disk mapping with user specified data evacuation mode; 2. re-create a new disk mapping with the same set of disks. Removal of a disk mapping may cause data movement so a disk data evacuation resource check vim.vsan.VsanResourceCheckSystem#PerformResourceCheck will be done before removing the disk mapping.- Required Privileges
- None
- Since
- vSAN API vSAN 6.7U1
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the VimClusterVsanVcDiskManagementSystem used to make the method call. |
| host P | ManagedObjectReference
to a HostSystem |
Target host to rebuild.
Since vSAN API vSAN 6.7U1 |
| mapping P | VsanHostDiskMapping |
The disk mapping to be rebuilt from VSAN usage.
Since vSAN API vSAN 6.7U1 |
| maintenanceSpec P | HostMaintenanceSpec |
Specifies the data evacuation mode.
Since vSAN API vSAN 6.7U1 |
Return Value
| Type | Description |
|---|---|
| ManagedObjectReference
to a Task |
Faults
| Type | Description |
|---|---|
| RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
| VsanFault | Thrown if below issues exist:
|
Events
| Type | |
|---|---|
| None | |
Show WSDL type definition
RetrieveAllFlashCapabilities(retrieveAllFlashCapabilities)
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.- Required Privileges
- None
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the VimClusterVsanVcDiskManagementSystem used to make the method call. |
| cluster P | ManagedObjectReference
to a ClusterComputeResource |
Target cluster, of which hosts' capabilities
will be queried;
Since vSphere API 6.0 |
Return Value
| Type | Description |
|---|---|
| VimVsanHostVsanHostCapability[] | vim.vsan.host.VsanHostCapability[] |
Faults
| Type | Description |
|---|---|
| RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
| VsanFault |
Events
| Type | |
|---|---|
| None | |
Show WSDL type definition
| Top of page | Local Methods | ||
| Managed Object Types | Data Object Types | All Properties | All Methods |