Skip Navigation Links | |
Exit Print View | |
Oracle® ZFS Storage Appliance RESTful Application Programming Interface |
Lists all available iSCSI initiator groups. On success HTTP Status 200 (OK) is returned and the body contains a JSON object with a property named “groups” that contains an array of initiator group objects.
Example Request:
GET /api/san/v1/iscsi/initiator-groups HTTP/1.1 Host: zfs-storage.example.com Accept: application/json
Example Response:
HTTP/1.1 200 OK Content-Type: application/json { "groups": [{ "href": "/san/v1/iscsi/initiator-groups/aktest-initiators-0", "initiators": ["iqn.1986-03.com.sun:0"], "name": "aktest-initiators-0" }, { "href": "/san/v1/iscsi/initiator-groups/aktest-initiators-1", "initiators": ["iqn.1986-03.com.sun:1"], "name": "aktest-initiators-1" }] }