# Managed Object - VsanSystemEx(vim.host.VsanSystemEx)

See also
  VsanHostAboutInfoEx, VsanHostRuntimeStats, VsanHostVsanObjectSyncQueryResult, VsanWhatIfEvacResult
Since
  vSphere API 6.5

## Managed Object Description

This managed object provides extended APIs to enrich HostVsanSystem's functionality, operating at a single ESXi host level. HostVsanSystem is still valid and provided by vSphere Management SDK. HostVsanSystem and VsanSystemEx should be used in combination for different operations to vSAN. It can be accessed with MOID of 'vsanSystemEx' through vSAN service at ESXi host side. It can be also accessed with MOID of 'vsanSystemEx-' through vSAN service at vCenter server side, where is the ID at the end of the host's MOID: 'host-'. For example, if a host's MOID is 'host-5', then 'vsanSystemEx-5' should be used to access this host's VsanSystemEx MO.

Properties

Name | Type | Description
--- | --- | ---
None

Methods

Methods defined in this Managed Object
VsanGetAboutInfoEx, VsanHostGetRuntimeStats, VsanQuerySyncingVsanObjects, VsanQueryWhatIfEvacuationResult

# VsanGetAboutInfoEx(getAboutInfoEx)

Query system information of ESXi such as name, type, version, build type and build number.

Required Privileges
  System.Read
Since
  vSAN API 6.6

Parameters

Name | Type | Description
--- | --- | ---
_this | ManagedObjectReference | A reference to the VsanSystemEx used to make the method call.

Return Value

Type | Description
--- | ---
VsanHostAboutInfoEx | VsanAboutInfoEx

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

Show WSDL type definition
<element xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vsan="urn:vsan" name="VsanGetAboutInfoEx" type="vsan:VsanGetAboutInfoExRequestType"/> <element xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vsan="urn:vsan" name="VsanGetAboutInfoExResponse"> <complexType> <sequence> <element name="returnval" type="vsan:VsanHostAboutInfoEx"/> </sequence> </complexType> </element>

# VsanHostGetRuntimeStats(getRuntimeStats)

Get vSAN runtime stats of vSAN host. This API is used to retrieve host's vSAN runtime stats. It bases on specified stats type list, to retrieve expected vSAN runtime stats.

Required Privileges
  System.Read
Since
  vSAN API 6.6

Parameters

Name | Type | Description
--- | --- | ---
_this | ManagedObjectReference | A reference to the VsanSystemEx used to make the method call.
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

*Need not be set

Return Value

Type | Description
--- | ---
VsanHostRuntimeStats | vim.vsan.host.RuntimeStats

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

Show WSDL type definition
<element xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vsan="urn:vsan" name="VsanHostGetRuntimeStats" type="vsan:VsanHostGetRuntimeStatsRequestType"/> <element xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vsan="urn:vsan" name="VsanHostGetRuntimeStatsResponse"> <complexType> <sequence> <element name="returnval" type="vsan:VsanHostRuntimeStats"/> </sequence> </complexType> </element>

# VsanQuerySyncingVsanObjects(querySyncingVsanObjects)

Query information about vSAN objects that are currently syncing data. It will retrieve information about syncing objects based on query options.

Required Privileges
  System.Read
Since
  vSAN API 6.7

Parameters

Name | Type | Description
--- | --- | ---
_this | ManagedObjectReference | A reference to the VsanSystemEx used to make the method call.
uuids* | xsd:string[] | Restricts the list of object identities to query. Since vSAN API 6.7
start* | xsd:int | Indicates the number of objects to be skipped when returns query results. A value less than 0 is illegal. Default: 0. Since vSAN API 6.7
limit* | xsd:int | Restricts the max number of objects to return. A value less than 0 is illegal, 0 is valid only when "includeSummary" is true. Default: INT_MAX. Since vSAN API 6.7
includeSummary* | xsd:boolean | Indicates whether to return summary data in query result. Default: False. Since vSAN API 6.7

*Need not be set

Return Value

Type | Description
--- | ---
VsanHostVsanObjectSyncQueryResult | vim.vsan.host.VsanSyncingObjectQueryResult.

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

Show WSDL type definition
<element xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vsan="urn:vsan" name="VsanQuerySyncingVsanObjects" type="vsan:VsanQuerySyncingVsanObjectsRequestType"/> <element xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vsan="urn:vsan" name="VsanQuerySyncingVsanObjectsResponse"> <complexType> <sequence> <element name="returnval" type="vsan:VsanHostVsanObjectSyncQueryResult"/> </sequence> </complexType> </element>

# VsanQueryWhatIfEvacuationResult(queryWhatIfEvacuationResult)

Query what it takes for an entity(disk group or host) to be evacuated in various modes. Only account for capacity usage when it determines if an entity can be evacuated in a given mode. Note that this means all other considerations such as fault domain, number of spindles or read cache are ignored and the API will only verify if the cluster has enough capacity to accommodate the affected objects in a specified mode.

Required Privileges
  System.Read
Since
  vSAN API 6.6

Parameters

Name | Type | Description
--- | --- | ---
_this | ManagedObjectReference | A reference to the VsanSystemEx used to make the method call.
evacEntityUuid | xsd:string | The entity UUID which will be evacuated. It can be an UUID of disk, disk group or host.

Return Value

Type | Description
--- | ---
VsanWhatIfEvacResult | WhatIfEvacResult which indicate whether the evacuation can be done in current cluster state and specified evacuation mode. If so, this API returns what objects would lose liveness or compliance. Or on the other hand, if the given entity cannot be evacuated, API returns many extra resources needed to satisfy this operation.

Faults

Type | Description
--- | ---
NotImplemented |
NotSupported |
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

Show WSDL type definition
<element xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vsan="urn:vsan" name="VsanQueryWhatIfEvacuationResult" type="vsan:VsanQueryWhatIfEvacuationResultRequestType"/> <element xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vsan="urn:vsan" name="VsanQueryWhatIfEvacuationResultResponse"> <complexType> <sequence> <element name="returnval" type="vsan:VsanWhatIfEvacResult"/> </sequence> </complexType> </element>