Host Vsan Health System Vsan Host Repair Immediate Objects
When the health check for vSAN object health test detects issues, this API can be used to repair the objects immediately.
the result would return objects in three lists the queuing repairing list: contains objects which are queuing for repairing the failed repaired list: contains objects which fails to repaired the not in queue list: contains objects which are not in repairing queue due to out of slot even though the objects are in the queuing repairing list, it does not mean the repair process is done. The completing time for repairing all of objects is unpredictable and depends on vSAN backend.
Required privileges: Host.Config.Storage
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.
"VsanHostRepairImmediateObjectsRequestType Object"
UUID list of the objects to be fixed
Type of repair, can be 'fix-object-immediate' (default) or 'crawler'
OK
"VsanRepairObjectsResult Object"
The objects which have been successfully enqueued for repairing.
The objects which is failed to be fixed with a certain failure message
The objects which weren't enqueued for repair due to the CLOM queue being full.
Caller needs retry repairing these objects.
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/sdk/vim25/{release}/vsan/HostVsanHealthSystem/{moId}/VsanHostRepairImmediateObjects