| Local Methods | ||
Managed Object Types | Data Object Types | All Properties | All Methods |
Properties
Name | Type | Description |
---|---|---|
None |
Methods
Methods defined in this Managed Object |
---|
VsanClusterGetConfig, VsanClusterGetRuntimeStats, VsanClusterReconfig, VsanEncryptedClusterRekey_Task, VsanQueryClusterDrsStats |
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 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 | 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 |
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* P | 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 P | ManagedObjectReference
to a ClusterComputeResource |
The target VC cluster.
Since vSphere API 6.0 |
vsanReconfigSpec P | VimVsanReconfigSpec |
The configure spec for vSAN cluster.
Since vSphere API 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 P | ManagedObjectReference
to a ClusterComputeResource |
The target VC cluster
Since vSAN API 6.6 |
deepRekey* P | 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* P | 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* P | 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 |
Top of page | Local Methods | ||
Managed Object Types | Data Object Types | All Properties | All Methods |