Vsan Iscsi Target System Vsan Remediate Iscsi Luns Runtime Status

Vsan Iscsi Target System Vsan Remediate Iscsi Luns Runtime Status

Remediates the iSCSI LUNs which runtime status are not consistent with configuration.
The remediation result will be returned after the task is finished.
Only if the remediation succeed for all LUNs, the task state will be "success".

If the remediation fails with no exception raised, the task state will be "failure". If hit internal vSAN error, the task state will be "error" with error message in the fault field. Unhealthy status of the vSAN iSCSI service can lead to this vim.fault.VsanFault exception, e.g., the unavailability of the home object. Multiple entry of this function at the same time is not allowed.

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

string
release
Required

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


Request Body
Required
"VsanRemediateIscsiLunsRuntimeStatusRequestType Object"
cluster
Required

, reference to cluster resource.

Required privileges: Host.Inventory.EditCluster

Authentication
This operation uses the following authentication methods.
Responses
200

task.

Returns MoRefTask of type(s) application/json
"MoRefTask Object"

500

Failure

Returns VsanFault of type(s) application/json
"VsanFault Object"

Code Samples
COPY
                    curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/sdk/vim25/{release}/vsan/VsanIscsiTargetSystem/{moId}/VsanRemediateIscsiLunsRuntimeStatus
                
V San Service Api Operations
POST
Vsan Iscsi Target System Vsan Vit Add Iscsi Initiator Group
POST
Vsan Iscsi Target System Vsan Vit Add Iscsi Initiators To Group
POST
Vsan Iscsi Target System Vsan Vit Add Iscsi Initiators To Target
POST
Vsan Iscsi Target System Vsan Vit Add Iscsi LUN
POST
Vsan Iscsi Target System Vsan Vit Add Iscsi Target
POST
Vsan Iscsi Target System Vsan Vit Add Iscsi Target To Group
POST
Vsan Iscsi Target System Vsan Vit Edit Iscsi LUN
POST
Vsan Iscsi Target System Vsan Vit Edit Iscsi Target
POST
Vsan Iscsi Target System Vsan Vit Get Home Object
POST
Vsan Iscsi Target System Vsan Vit Get Iscsi Initiator Group
POST
Vsan Iscsi Target System Vsan Vit Get Iscsi Initiator Groups
POST
Vsan Iscsi Target System Vsan Vit Get Iscsi LUN
POST
Vsan Iscsi Target System Vsan Vit Get Iscsi LU Ns
POST
Vsan Iscsi Target System Vsan Vit Get Iscsi Target
POST
Vsan Iscsi Target System Vsan Vit Get Iscsi Targets
POST
Vsan Iscsi Target System Vsan Vit Query Iscsi Target Service Version
POST
Vsan Iscsi Target System Vsan Remediate Iscsi Luns Runtime Status
POST
Vsan Iscsi Target System Vsan Vit Remove Iscsi Initiator Group
POST
Vsan Iscsi Target System Vsan Vit Remove Iscsi Initiators From Group
POST
Vsan Iscsi Target System Vsan Vit Remove Iscsi Initiators From Target
POST
Vsan Iscsi Target System Vsan Vit Remove Iscsi LUN
POST
Vsan Iscsi Target System Vsan Vit Remove Iscsi Target
POST
Vsan Iscsi Target System Vsan Vit Remove Iscsi Target From Group