GetVolumeAccessGroupLunAssignments

You can use the GetVolumeAccessGroupLunAssignments method to retrieve details on LUN mappings of a specified volume access group.

Parameter

This method has the following input parameter:

Name Description Type Default value Required
volumeAccessGroupID A unique volume access group ID used to return information. integer None Yes

Return value

This method has the following return value:

Name Description Type
volumeAccessGroupLunAssignments A list of all physical Fibre Channel ports, or a port for a single node. JSON object

Request example

Requests for this method are similar to the following example:

{
   "method": "GetVolumeAccessGroupLunAssignments",
   "params": {
      "volumeAccessGroupID": 5
    },
  "id" : 1
   }
}

Response example

This method returns a response similar to the following example:

{
  "id" : 1,
  "result" : {
    "volumeAccessGroupLunAssignments" : {
       "volumeAccessGroupID" : 5,
       "lunAssignments" : [
          {"volumeID" : 5, "lun" : 0},
          {"volumeID" : 6, "lun" : 1},
          {"volumeID" : 7, "lun" : 2},
          {"volumeID" : 8, "lun" : 3}
       ],
       "deletedLunAssignments" : [
           {"volumeID" : 44, "lun" : 44}
       ]
    }
  }
}