Vsan Iscsi Target System Vsan Vit Add Iscsi Initiators To Target
Adds iSCSI initiators or initiator groups to one target.
If the target cannot be found or if there are initiators or initiator groups in the initiatorNames parameter are already associated with the specified target, 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.
"VsanVitAddIscsiInitiatorsToTargetRequestType Object"
: reference to cluster resource.
Required privileges: Host.Inventory.EditCluster
: target alias.
: initiator or initiator group name list.
No Content
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/sdk/vim25/{release}/vsan/VsanIscsiTargetSystem/{moId}/VsanVitAddIscsiInitiatorsToTarget