Vsan Vc Cluster Health System Vsan Query Vc 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
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.0.0.0 APIs.
"VsanQueryVcClusterCreateVmHealthTestRequestType Object"
The target cluster
Required privileges: VirtualMachine.Inventory.Create VirtualMachine.Inventory.Delete
The timeout in seconds for the VM creation test. The suggested value could be 2 mintues
The datastore where the VM creation test will be run. It could be the local datastore or the remote datastore that is mounted to the cluster. By default it will run with local vSAN datastore.
The vSAN cluster VM creation test result
"VsanClusterCreateVmHealthTestResult Object"
The overall vSAN cluster result for VM creation test
The VM creation test result for each of host
NotFound: If cluster's hosts could not be contacted to perform the operation.
InvalidArgument: Exception for invalid input arguments.
NotSupported: Exception for hostlevel API call for API with remote datastore in hostlevel call.
"MethodFault Object"
Fault which is the cause of this fault.
Message which has details about the error Message can also contain a key to message catalog which can be used to generate better localized messages.
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/sdk/vim25/{release}/vsan/VsanVcClusterHealthSystem/{moId}/VsanQueryVcClusterCreateVmHealthTest