Vsan Iscsi Target System Vsan Vit Remove Iscsi LUN
Removes iSCSI LUN from this target.
If
the target or the LUN cannot be
found, a VsanFault will be raised.
Some unhealthy status of the vSAN iSCSI service can also lead to this VsanFault exception, e.g., the unavailability of the home object.
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}
.
The vSphere release schema. The current specification covers vSphere 9.0.0.0 APIs.
"VsanVitRemoveIscsiLUNRequestType Object"
: reference to cluster resource.
Required privileges: Host.Inventory.EditCluster
: iSCSI target alias.
: iSCSI LUN id.
The related task.
{
"0": "M",
"1": "o",
"2": "R",
"3": "e",
"4": "f",
"5": "T",
"6": "a",
"7": "s",
"8": "k",
"9": " ",
"10": "O",
"11": "b",
"12": "j",
"13": "e",
"14": "c",
"15": "t"
}
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/sdk/vim25/{release}/vsan/VsanIscsiTargetSystem/{moId}/VsanVitRemoveIscsiLUN