Host Vsan Health System Vsan Host Create Vm Health Test
Perform VM creation test on localhost.
Required privileges: System.Read
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 HostVsanHealthSystem/{moId}
.
The vSphere release schema. The current specification covers vSphere 9.0.0.0 APIs.
"VsanHostCreateVmHealthTestRequestType Object"
time out for the creation of VM
summarized creation vm test result on the host
"VsanHostCreateVmHealthTestResult Object"
The host name
The VM creation test state.
All of possible states are "error", "timeout" and "success"
The exception fault for the VM creation test, which will be set when the host is disconnected, cannot create virtual machine or timed out when creating VM and any exception throwing from destroying the created VM
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/sdk/vim25/{release}/vsan/HostVsanHealthSystem/{moId}/VsanHostCreateVmHealthTest