Vsan Vc Cluster Health System Vsan Vc Cluster Query Verify Health System Versions
Query the version information of the vSAN health service all hosts in the specified cluster and on the vCenter Server.
The operation verifies the consistency of version numbers across all hosts and reports any inconsistencies or issues found during the query.
The query result includes all connected hosts in the cluster, excluding disconnected hosts and hosts that fail to respond.
As of vSphere API version 9.0, this API is deprecated and should not be used. There is no dedicated vSAN health service version as the vSAN health functionality is always part of vCenter Server and ESX host. The vSAN health version will always equal the vCenter Server or ESX host version, which can be queried directly from the vCenter Server or ESX host APIs. Use version from vCenter Server or the appropriate ESX host version API 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 VsanVcClusterHealthSystem/{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 target cluster to query.
Required privileges: System.Read
The vSAN health service version result containing version information for all hosts in the cluster, the vCenter Server version, and flags indicating whether issues were found or upgrades are possible. The result includes per-host version information and any errors encountered during the query.
{
"_typeName": "string",
"hostResults": [
{
"_typeName": "string",
"hostname": "string",
"version": "string",
"error": {
"_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"
}
]
},
"build": "string"
}
],
"vcVersion": "string",
"issueFound": false,
"upgradePossible": false,
"vcBuild": "string"
}
The version information for all the hosts requested includes disconnected hosts and hosts without response.
Return vSAN health service version number string on vCenter Server side.
If the query is not requested from vCenter Server, it will be unset.
True if the vSAN health service versions are inconsistent or query fails on some host.
True if the vSAN health service version can be upgraded on at least one host.
Takes into account which upgrade paths are supported, not just if the version is outdated.
Return the build number of VMware vCenter.
If the query is not requested from vCenter Server, it will be unset.
Failure
{
"_typeName": "string",
"faultCause": "MethodFault Object",
"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/VsanVcClusterHealthSystem/{moId}/VsanVcClusterQueryVerifyHealthSystemVersions