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