Vsan System Ex Vsan Host Get Runtime Stats

Vsan System Ex Vsan Host Get Runtime Stats

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

Request
URI
POST
https://{api_host}/sdk/vim25/{release}/vsan/VsanSystemEx/{moId}/VsanHostGetRuntimeStats
COPY
Path Parameters
string
moId
Required

The unique identifier for the managed object to which the method attaches; the serialized managed object reference for a request has the form moType/moId, in this case VsanSystemEx/{moId}.

string
release
Required

The vSphere release schema. The current specification covers vSphere 9.0.0.0 APIs.


Request Body
VsanHostGetRuntimeStatsRequestType of type(s) application/json
Required
"VsanHostGetRuntimeStatsRequestType Object"
array of string
stats
Optional

List of vSAN runtime stats type. Supported vSAN runtime stats types are declared in VsanHostStatsTypeEnum. If this parameter is omitted, all supported runtime stats will be collected and returned.

string
clusterUuid
Optional

The cluster uuid used for vSAN runtime stats of configGeneration in VsanHostStatsTypeEnum.

Authentication
This operation uses the following authentication methods.
Responses
200

vim.vsan.host.RuntimeStats

Returns VsanHostRuntimeStats of type(s) application/json
"VsanHostRuntimeStats Object"
resyncIopsInfo
Optional

Runtime value of vSAN resync IOPS information.

This field is to present resyncIopsInfo.

configGeneration
Optional

Current config generation of the host.

integer As int32 As int32
supportedClusterSize
Optional

Maximum vSAN cluster size supported by this host.

repairTimerInfo
Optional

Repair timer information of the host.

integer As int32 As int32
componentLimitPerCluster
Optional

Get shared witness per cluster component limit of the host.

integer As int32 As int32
maxWitnessClusters
Optional

Get shared witness max number of clusters on a witness node.


Code Samples
COPY
                    curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/sdk/vim25/{release}/vsan/VsanSystemEx/{moId}/VsanHostGetRuntimeStats