Vsan Iscsi Target System Vsan Vit Get Iscsi Initiator Groups
Gets iSCSI initiator group list for one cluster.
If the operation fails, a VsanFault will be raised.
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.1.0.0 APIs.
Show optional properties
{
"cluster": {}
}
{
"cluster": {
"_typeName": "string",
"type": "string",
"value": "string"
}
}
: reference to cluster resource.
Required privileges: System.Read
iSCSI initiator group list.
[
{
"_typeName": "string",
"name": "string",
"initiators": [
"string"
],
"targets": [
{
"_typeName": "string",
"alias": "string",
"iqn": "string"
}
]
}
]
Defines the initiator group, which serves as a container to contain a initiator name list.
If user add one initiator group to one target, it means
all initiators in it can access this target.
An initiator functions as an iSCSI client. An initiator
negotiates with a target to establish
connectivity to a LUN and it treats iSCSI LUNs the same way as they would a
raw SCSI or IDE hard drive.
Failure
{
"_typeName": "string",
"faultCause": {
"_typeName": "string",
"faultCause": "MethodFault Object",
"faultMessage": [
{
"_typeName": "string",
"key": "string",
"arg": [
{
"_typeName": "string",
"key": "string",
"value": {
"_typeName": "string"
}
}
],
"message": "string"
}
]
},
"faultMessage": [
{
"_typeName": "string",
"key": "string",
"arg": [
{
"_typeName": "string",
"key": "string",
"value": {
"_typeName": "string"
}
}
],
"message": "string"
}
]
}
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"cluster":"{}"}' https://{api_host}/sdk/vim25/{release}/vsan/VsanIscsiTargetSystem/{moId}/VsanVitGetIscsiInitiatorGroups