Host Vsan Health System Vsan Host Repair Immediate Objects

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

Request
URI
POST
https://{api_host}/sdk/vim25/{release}/vsan/HostVsanHealthSystem/{moId}/VsanHostRepairImmediateObjects
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 HostVsanHealthSystem/{moId}.

string
release
Required

The vSphere release schema. The current specification covers vSphere 9.0.0.0 APIs.


Request Body
Required
"VsanHostRepairImmediateObjectsRequestType Object"
array of string
uuids
Optional

UUID list of the objects to be fixed

string
repairType
Optional

Type of repair, can be 'fix-object-immediate' (default) or 'crawler'

Authentication
This operation uses the following authentication methods.
Responses
200

OK

Returns VsanRepairObjectsResult of type(s) application/json
"VsanRepairObjectsResult Object"
array of string
inQueueObjects
Optional

The objects which have been successfully enqueued for repairing.

array of object
failedRepairObjects
Optional

The objects which is failed to be fixed with a certain failure message

array of string
notInQueueObjects
Optional

The objects which weren't enqueued for repair due to the CLOM queue being full.

Caller needs retry repairing these objects.


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/HostVsanHealthSystem/{moId}/VsanHostRepairImmediateObjects
                
V San Service Api Operations
POST
Host Vsan Health System Vsan Host Clomd Liveness
POST
Host Vsan Health System Vsan Host Cleanup Vmdk Load Test
Deprecated
POST
Host Vsan Health System Vsan Host Create Vm Health Test
POST
Host Vsan Health System Vsan Flash Scsi Controller Firmware Task
Deprecated
POST
Host Vsan Health System Vsan Get Hcl Info
POST
Host Vsan Health System Vsan Get Network Diagnostics Health Info
POST
Host Vsan Health System Vsan Get Proactive Rebalance Info
POST
Host Vsan Health System Vsan Host Prepare Vmdk Load Test
Deprecated
POST
Host Vsan Health System Vsan Host Query Adv Cfg
POST
Host Vsan Health System Vsan Host Query Check Limits
POST
Host Vsan Health System Vsan Host Query Encryption Health Summary
POST
Host Vsan Health System Vsan Host Query File Service Health Summary
POST
Host Vsan Health System Vsan Query Host EMM State
POST
Host Vsan Health System Vsan Host Query Host Info By Uuids
POST
Host Vsan Health System Vsan Host Query Object Health Summary
POST
Host Vsan Health System Vsan Host Query Physical Disk Health Summary
POST
Host Vsan Health System Vsan Host Query Run Iperf Client
POST
Host Vsan Health System Vsan Host Query Run Iperf Server
POST
Host Vsan Health System Vsan Host Query Smart Stats
POST
Host Vsan Health System Vsan Host Query Verify Network Settings
POST
Host Vsan Health System Vsan Host Query Health System Version
POST
Host Vsan Health System Vsan Host Repair Immediate Objects
POST
Host Vsan Health System Vsan Host Run Vmdk Load Test
Deprecated
POST
Host Vsan Health System Vsan Start Proactive Rebalance
POST
Host Vsan Health System Vsan Stop Proactive Rebalance
POST
Host Vsan Health System Vsan Wait For Vsan Health Generation Id Change