Vsan Performance Manager Vsan Perf Query Cluster Health
This API shall not be used to query the health status for vSAN performance service.
Consider this API as deprecated. Use VsanQueryVcClusterHealthSummary instead.
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 VsanPerformanceManager/{moId}.
The vSphere release schema. The current specification covers vSphere 9.1.0.0 APIs.
Show optional properties
{
"cluster": {}
}
{
"cluster": {
"_typeName": "string",
"type": "string",
"value": "string"
}
}
The cluster for which to compute health for.
Required privileges: System.Read
vim.cluster.VsanClusterHealthGroup[] A list of health groups.
[
{
"_typeName": "string",
"groupId": "string",
"groupName": "string",
"groupHealth": "string",
"groupTests": [
{
"_typeName": "string",
"testId": "string",
"testName": "string",
"testDescription": "string",
"testShortDescription": "string",
"testHealthyEntities": 0,
"testAllEntities": 0,
"testHealth": "string",
"testDetails": [
{
"_typeName": "string",
"label": "string"
}
],
"testActions": [
{
"_typeName": "string",
"actionId": "string",
"actionLabel": {
"_typeName": "string",
"key": "string",
"arg": [
{
"_typeName": "string",
"key": "string",
"value": {
"_typeName": "string"
}
}
],
"message": "string"
},
"actionDescription": {
"_typeName": "string",
"key": "string",
"arg": [
{
"_typeName": "string",
"key": "string",
"value": {
"_typeName": "string"
}
}
],
"message": "string"
},
"enabled": false,
"parameters": [
{
"_typeName": "string",
"key": "string",
"value": "string"
}
]
}
],
"historicalResults": [
{
"_typeName": "string",
"timestamp": "string",
"health": "string",
"testDetails": [
{
"_typeName": "string",
"label": "string"
}
],
"testCorrelation": {
"_typeName": "string",
"primaryHealthTests": [
"string"
],
"relatedHealthTests": [
"string"
],
"skippedHealthTests": [
"string"
]
}
}
],
"testCorrelation": {
"_typeName": "string",
"primaryHealthTests": [
"string"
],
"relatedHealthTests": [
"string"
],
"skippedHealthTests": [
"string"
]
},
"reducedScore": 0,
"category": "string",
"riskIfNotFix": "string",
"lastStatusChangeTime": "string"
}
],
"groupDetails": [
{
"_typeName": "string",
"label": "string"
}
],
"inProgress": false
}
]
This class defines vSAN cluster health group result.
The vSAN health check results with the same category will be grouped into a group result, which include the group name and ID, group health which is aggregated from each of health check item and the health check details
NotFound: if no ESXi host could be contacted to perform the operation when called against vCenter.
{
"_typeName": "string",
"faultCause": {
"_typeName": "string",
"faultCause": "MethodFault Object",
"faultMessage": [
{
"_typeName": "string",
"key": "string",
"arg": [
{
"_typeName": "string",
"key": "string",
"value": {
"_typeName": "string"
}
}
],
"message": "string"
}
]
},
"faultMessage": [
{
"_typeName": "string",
"key": "string",
"arg": [
{
"_typeName": "string",
"key": "string",
"value": {
"_typeName": "string"
}
}
],
"message": "string"
}
]
}
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"cluster":"{}"}' https://{api_host}/sdk/vim25/{release}/vsan/VsanPerformanceManager/{moId}/VsanPerfQueryClusterHealth