Vsan Iscsi Target System Vsan Vit Get Iscsi LUN
Gets one iSCSI LUN for specified 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.
"VsanVitGetIscsiLUNRequestType Object"
: reference to cluster resource.
Required privileges: System.Read
: the target alias.
: the LUN id.
iSCSI LUN.
{
"0": "V",
"1": "s",
"2": "a",
"3": "n",
"4": "I",
"5": "s",
"6": "c",
"7": "s",
"8": "i",
"9": "L",
"10": "U",
"11": "N",
"12": " ",
"13": "O",
"14": "b",
"15": "j",
"16": "e",
"17": "c",
"18": "t"
}
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/sdk/vim25/{release}/vsan/VsanIscsiTargetSystem/{moId}/VsanVitGetIscsiLUN