Get iGroups

Contributors netapp-ranuk Download PDF of this page

You can use this workflow to retrieve all the iGroups.

1. Select the working environment

Perform the workflow Get working environments and choose the publicId and svmName values for the working environment workingEnvironmentId and svmName path parameters.

2. Get the CIFS configurations

HTTP method Path

GET

/occm/api/vsa/volumes/igroups/{workingEnvironmentId}/{svmName}

curl example
curl --location --request GET 'https://cloudmanager.cloud.netapp.com/occm/api/vsa/volumes/igroups/<WORKING_ENV_ID>/<SVM_NAME>' --header 'x-agent-id: <AGENT_ID>' --header 'Authorization: Bearer <ACCESS_TOKEN>' --header 'Content-Type: application/json'
Input
  • Path parameter <WORKING_ENV_ID>

  • Path parameter <SVM_NAME>

Output

The JSON output example includes a list of iGroups.

JSON output example
[
    {
        "igroupName": "zivIgroup1",
        "osType": "linux",
        "portsetName": "",
        "igroupType": "iscsi",
        "initiators": [
            "iqn.1994-05.com.redhat:1d9ac633937c"
        ]
    },
    {
        "igroupName": "zivIgroup2",
        "osType": "linux",
        "portsetName": "",
        "igroupType": "iscsi",
        "initiators": [
            "iqn.1994-05.com.redhat:96de86825216"
        ]
    }
]