Vsan Cluster Health System Vsan Query Cluster Create Vm Health Test

Vsan Cluster Health System Vsan Query Cluster Create Vm Health Test

Executes VM creation test and checks if a tiny VM can be created on each of host of the vSAN cluster

Required privileges: System.Read

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

integer As int32 As int32
timeout
Required

The timeout time for the VM creation test

Authentication
This operation uses the following authentication methods.
Responses
200

The vSAN cluster VM creation test result

Returns VsanClusterCreateVmHealthTestResult of type(s) application/json
"VsanClusterCreateVmHealthTestResult Object"
clusterResult
Required

The overall vSAN cluster result for VM creation test

array of object
hostResults
Optional

The VM creation test result for each of host


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}/VsanQueryClusterCreateVmHealthTest