Vim Cluster Vsan Vc Stretched Cluster System VSAN Vc Is Witness Host

Vim Cluster Vsan Vc Stretched Cluster System VSAN Vc Is Witness Host

Check whether specified host is a witness host.

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

string
release
Required

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


Request Body
VSANVcIsWitnessHostRequestType of type(s) application/json
Required
"VSANVcIsWitnessHostRequestType Object"
host
Required

The target host to check.

Required privileges: System.Read

Authentication
This operation uses the following authentication methods.
Responses
200

true is host is a witness host, false is host is not a witness host.

Returns integer of type(s) application/json
Operation doesn't return any data structure

500

VsanFault: If any unexpected runtime fault is met.

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

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