Vsan Cluster Health System Vsan Query Cluster Health System Versions

Vsan Cluster Health System Vsan Query Cluster Health System Versions

Queries vSAN health service version number string for each host and check if all of them are consistent.

Mark issueFound flag as True if they are not consistent.

Required privileges: System.Read

Request
URI
POST
https://{api_host}/sdk/vim25/{release}/vsan/VsanClusterHealthSystem/{moId}/VsanQueryClusterHealthSystemVersions
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 VsanClusterHealthSystem/{moId}.

string
release
Required

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


Request Body
Required
"VsanQueryClusterHealthSystemVersionsRequestType Object"
array of string
hosts
Required

The vSAN hosts

string
esxRootPassword
Required

The root password for the host. The password should be the same for all of hosts in the vSAN cluster

Authentication
This operation uses the following authentication methods.
Responses
200

The vSAN cluster health service version result

Returns VsanClusterHealthSystemVersionResult of type(s) application/json
"VsanClusterHealthSystemVersionResult Object"
array of object
hostResults
Optional

The version information for all the hosts requested includes disconnected hosts and hosts without response.

string
vcVersion
Optional

Return vSAN health service version number string on vCenter Server side.

If the query is not requested from vCenter Server, it will be unset.

boolean
issueFound
Required

True if the vSAN health service versions are inconsistent or query fails on some host.

boolean
upgradePossible
Optional

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.

string
vcBuild
Optional

Return the build number of VMware vCenter.

If the query is not requested from vCenter Server, it will be unset.


500

Failure

Returns NotFound of type(s) application/json
"NotFound Object"

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