|
| Local Methods | ||
| Managed Object Types | Data Object Types | All Properties | All Methods |
Properties
| Name | Type | Description |
|---|---|---|
| None | ||
Methods
| Methods defined in this Managed Object |
|---|
| RunLifecycleCheck, VsanClusterGetClaimedCapacity, VsanClusterGetConfig, VsanClusterGetRuntimeStats, VsanClusterReconfig, VsanEncryptedClusterRekey_Task, VsanQueryClusterDrsStats, VsanValidateConfigSpec |
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the VsanVcClusterConfigSystem used to make the method call. |
| cluster | ManagedObjectReference
to a ClusterComputeResource |
Cluster on which to perform lifecycle checks and return
configuration information.
Since vSAN API 7.3 |
| vsanLifecycleCheckSpec | VsanVcLifecycleCheckSpec |
Specification for the lifecycle checks.
Since vSAN API 7.3 |
Return Value
| Type | Description |
|---|---|
| VsanVcLifecycleCheckResult | Lifecycle checks and configuration results. |
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 any unexpected runtime fault is met. |
Events
| Type | |
|---|---|
| None | |
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the VsanVcClusterConfigSystem used to make the method call. |
| cluster P | ManagedObjectReference
to a ClusterComputeResource |
The target vCenter cluster.
Since vSAN API 8.0.0.4 |
Return Value
| Type | Description |
|---|---|
| xsd:long | The total claimed disk capacity in raw bytes. |
Faults
| Type | Description |
|---|---|
| InvalidState | Thrown if the capacity value has not been initialized. |
| NotSupported | Thrown if the cluster has not enabled vSAN. |
| RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
Events
| Type | |
|---|---|
| None | |
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the VsanVcClusterConfigSystem used to make the method call. |
| cluster P | ManagedObjectReference
to a ClusterComputeResource |
The target vCenter cluster
Since vSphere API Release 6.0 |
Return Value
| Type | Description |
|---|---|
| VsanConfigInfoEx | The configuration spec for the vCenter cluster ConfigInfoEx inherits from VsanClusterConfigInfo. It appends data efficiency configuration. |
Faults
| Type | Description |
|---|---|
| InvalidState | |
| 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 VsanVcClusterConfigSystem used to make the method call. |
| cluster P | ManagedObjectReference
to a ClusterComputeResource |
The target vCenter cluster
Since vSAN API 6.6 |
| stats* | xsd:string[] |
List of vSAN runtime stats type. Supported vSAN runtime stats
types are declared in VsanHostStatsType.
If this parameter is omitted, all supported runtime stats will
be collected and returned.
Since vSAN API 6.6 |
Return Value
| Type | Description |
|---|---|
| VsanRuntimeStatsHostMap[] | vim.vsan.RuntimeStatsHostMap[] List of vSAN runtime stats, each item contains owner host and its stats. If specified cluster is empty, or vSAN is disabled on it, an empty list will be returned. |
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. |
Events
| Type | |
|---|---|
| None | |
Reconfiguring vSAN cluster requires Host.Inventory.EditCluster privilege on the cluster, extra privileges may be required depending on what is being changed:
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the VsanVcClusterConfigSystem used to make the method call. |
| cluster | ManagedObjectReference
to a ClusterComputeResource |
The target VC cluster.
Since vSphere API Release 6.0 |
| vsanReconfigSpec | VimVsanReconfigSpec |
The configure spec for vSAN cluster.
Since vSphere API Release 6.0 |
Return Value
| Type | Description |
|---|---|
| ManagedObjectReference
to a Task | vim.Task |
Faults
| Type | Description |
|---|---|
| InvalidState | Thrown if the vSAN is not enabled in current cluster. |
| RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
| VsanFault | when turn on data efficiency feature on a cluster which has hybrid disk group. |
Events
| Type | |
|---|---|
| None | |
To run either shallow rekey or deep rekey for an encrypted vSAN cluster, both Cryptographer.ManageKeys privilege and Host.Inventory.EditCluster privilege are required on the cluster. If it is a shallow rekey, alternatively, caller with Vsan.Cluster.ShallowRekey privilege on the cluster will also be allowed.
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the VsanVcClusterConfigSystem used to make the method call. |
| encryptedCluster | ManagedObjectReference
to a ClusterComputeResource |
The target VC cluster
Since vSAN API 6.6 |
| deepRekey* | xsd:boolean |
True to perform a deep rekey. Its default value is false when
not provided, which means shallow rekey is performed
Since vSAN API 6.6 |
| allowReducedRedundancy* | xsd:boolean |
This optional parameter is only applicable for
deep rekey when it needs to migrate data across cluster for changing
vSAN disk format. The default value is 'false' if not specified
See allowReducedRedundancy,
vim.vsan.host.DecommissionMode.ObjectAction#ensureObjectAccessibility,
and vim.vsan.host.DecommissionMode.ObjectAction#evacuateAllData.
Since vSAN API 6.6 |
Return Value
| Type | Description |
|---|---|
| ManagedObjectReference
to a Task |
Faults
| Type | Description |
|---|---|
| InvalidState | Thrown if the vSAN is not enabled or encryption is not enabled on the cluster. |
| 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 | |
To support integration between vSAN and DRS, we are expected to report runtime stats of vSAN member hosts and VMs locate in specified vSAN cluster from storage perspective. Per request from DRS service, below stats are requested:
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the VsanVcClusterConfigSystem used to make the method call. |
| cluster P | ManagedObjectReference
to a ClusterComputeResource |
The target vSAN cluster;
Since vSAN API VMC M5 |
| vms* | ManagedObjectReference[]
to a VirtualMachine[] |
Specified VM list of which runtime stats should be reported. If omitted
return stats of all vSAN VMs locate in specified vSAN cluster;
Since vSAN API VMC M5 |
Return Value
| Type | Description |
|---|---|
| VsanHostDrsStats[] | List of VsanHostDrsStats, in which stats should be parsed by the order of returned DrsStats. |
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. |
Events
| Type | |
|---|---|
| None | |
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the VsanVcClusterConfigSystem used to make the method call. |
| cluster P | ManagedObjectReference
to a ClusterComputeResource |
The target VC cluster to apply reconfig spec
Since vSAN API vSAN 7.0U1 |
| vsanReconfigSpec | VimVsanReconfigSpec |
The configure spec to be validated
Since vSAN API vSAN 7.0U1 |
Return Value
| Type | Description |
|---|---|
| ClusterComputeResourceValidationResultBase[] | A list of different validation results. The result returned are of two types. 1. If the spec enables vSAN ESA, then result for every precheck is returned using VsanClusterConfigPrecheckItem. This includes prechecks of all possible statuses as in VsanHealthStatusType 2. If the spec does not enable vSAN ESA, then the result for prechecks are returned using ClusterComputeResourceValidationResultBase. Here, only the the prechecks which fail the validation are returned. The field info contains the precheck failure reason. |
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. |
Events
| Type | |
|---|---|
| None | |
| Top of page | Local Methods | ||
| Managed Object Types | Data Object Types | All Properties | All Methods |