Vsan Vc Cluster Health System Vsan Query Cluster Historical Health
It queries vSAN cluster historical health information based on the query spec.
- Query general historical health summary. If no groupId and testId specified in the query spec, it aggregates all the historical vSAN cluster health status for the given time range. Then returns a general health summary with only overallHealth, test group IDs, group healths, test IDs and test healths.
- Query health status history for a certain health check. If groupId and testId are specified, and start time doesn't equal to end time, the result will only contain the historical testHealths for the given time range of the target health check.
- Query a snapshot detail for a certain health check. If groupId and testId are specified, and start time equals to end time, the result will contain a full testDetail for the certain timestamp of the target health check.
Required privileges: System.Read
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 VsanVcClusterHealthSystem/{moId}
.
The vSphere release schema. The current specification covers vSphere 9.0.0.0 APIs.
"VsanQueryClusterHistoricalHealthRequestType Object"
The query spec.
vSAN cluster health summary with historical infomation.
[
"VsanClusterHealthSummary Object"
]
NotSupported: if run directly on an ESX Server host.
InvalidArgument: Exception for invalid input arguments. For example, if given time range is more than one month. Or end time is smaller than the start time.
"MethodFault Object"
Fault which is the cause of this fault.
Message which has details about the error Message can also contain a key to message catalog which can be used to generate better localized messages.
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/sdk/vim25/{release}/vsan/VsanVcClusterHealthSystem/{moId}/VsanQueryClusterHistoricalHealth