| Local Methods | ||
Managed Object Types | Data Object Types | All Properties | All Methods |
Properties
Name | Type | Description |
---|---|---|
None |
Methods
Methods defined in this Managed Object |
---|
InitializeDiskMappings, QueryClusterDataEfficiencyCapacityState, QueryDiskMappings, QueryVsanManagedDisks, RebuildDiskMapping, RemoveDiskEx, RemoveDiskMappingEx, RetrieveAllFlashCapabilities, UnmountDiskMappingEx |
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 |
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 |
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 |
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 vSAN API vSAN 7.0U1 |
Return Value
Type | Description |
---|---|
VimVsanHostVsanManagedDisksInfo | All of vSAN managed disks including vSAN disk groups and vSAN direct storages |
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 |
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 |
Parameters
Name | Type | Description |
---|---|---|
_this | ManagedObjectReference | A reference to the VimClusterVsanVcDiskManagementSystem used to make the method call. |
cluster P | ManagedObjectReference
to a ClusterComputeResource |
The vSAN cluster which owns the given vSAN disk(s)
and(or) vSAN direct disk(s).
Since vSAN API 7.2 |
disks P | HostScsiDisk[] |
List of vSAN disk(s) to be removed.
Since vSAN API 7.2 |
maintenanceSpec P | HostMaintenanceSpec |
Specifies the data evacuation mode.
It only support noAction for vSAN direct disk(s)
removal. If other decommision mode is set, the vSAN
direct disk(s) removal will ignore the decommission
mode and proceed with noAction mode.
Since vSAN API 7.2 |
Return Value
Type | Description |
---|---|
ManagedObjectReference
to a Task | A task to monitor the progress of disk(s) removal operation. If the removal operation includes vSAN disk(s) removal, then upon successful completion of the returned task, its result field will be populated with a VsanHostDiskResult[] filled with details for each vSAN disk. |
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 resource check completes with "red" status or any other error happens during the resource check stage or actual disk(s) removal stage for vSAN disk(s). If the specified disk is the last capacity-tier disk in a disk mapping, a more specific vim.fault.DiskIsLastRemainingNonSSD (which is a subclass of VsanFault) will be thrown instead. |
Events
Type | |
---|---|
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 vSAN cluster which owns the given disk mapping(s).
Since vSAN API 7.2 |
mappings P | VsanHostDiskMapping[] |
List of disk mapping(s) to be removed.
Since vSAN API 7.2 |
maintenanceSpec P | HostMaintenanceSpec |
Specifies the data evacuation mode.
Since vSAN API 7.2 |
Return Value
Type | Description |
---|---|
ManagedObjectReference
to a Task | A task to monitor the progress of disk mapping(s) removal operation. Upon successful completion of the returned task, its result field will be populated with a VsanHostDiskMapResult[] filled with details for each disk mapping. |
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 resource check completes with "red" status or any error happens during the resource check stage or actual disk mapping(s) removal stage. |
Events
Type | |
---|---|
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 |
Parameters
Name | Type | Description |
---|---|---|
_this | ManagedObjectReference | A reference to the VimClusterVsanVcDiskManagementSystem used to make the method call. |
cluster P | ManagedObjectReference
to a ClusterComputeResource |
The vSAN cluster which owns the given disk mapping(s).
Since vSAN API 7.2 |
mappings P | VsanHostDiskMapping[] |
List of disk mapping(s) to be unmounted.
Since vSAN API 7.2 |
maintenanceSpec P | HostMaintenanceSpec |
Specifies the data evacuation mode.
Since vSAN API 7.2 |
Return Value
Type | Description |
---|---|
ManagedObjectReference
to a Task | A task to monitor the progress of disk mapping(s) unmount operation. Upon successful completion of the returned task, its result field will be populated with a VsanHostDiskMapResult[] filled with details for each disk mapping. |
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 resource check completes with "red" status or any error happens during the resource check stage or actual disk mapping(s) unmount stage. |
Events
Type | |
---|---|
None |
Top of page | Local Methods | ||
Managed Object Types | Data Object Types | All Properties | All Methods |