Vsan Iscsi Target System Vsan Vit Add Iscsi Target To Group
Adds the iSCSI target to the specified initiator group.
If the initiator group is not found or the target is already in the
accessible targets of the group, 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.
"VsanVitAddIscsiTargetToGroupRequestType Object"
: reference to cluster resource.
Required privileges: Host.Inventory.EditCluster
: the initiator group name.
: the iSCSI target alias.
No Content
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/sdk/vim25/{release}/vsan/VsanIscsiTargetSystem/{moId}/VsanVitAddIscsiTargetToGroup