Vsan Cluster Health System Vsan Repair Cluster Immediate Objects

Vsan Cluster Health System Vsan Repair Cluster Immediate Objects

Fix absent and degraded components in object immediately.

The result will contain which object have been in queue for repair or failed to be repaired

Required privileges: System.Read

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

array of string
uuids
Optional

The vSAN objects UUID to be repaired. Unset to repair all of reduced objects in the vSAN cluster

Authentication
This operation uses the following authentication methods.
Responses
200

The vSAN cluster object repair result

Returns VsanClusterHealthSystemObjectsRepairResult of type(s) application/json
"VsanClusterHealthSystemObjectsRepairResult Object"
array of string
inRepairingQueueObjects
Optional

The objects were queued for repairing

array of object
failedRepairObjects
Optional

All of objects which are failed to be repaired

boolean
issueFound
Required

True if ANY of host is failed to repair the objects belonging to them


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