Skip to main content
Element Software
12.5 and 12.7

AddVolumesToVolumeAccessGroup

Contributors netapp-pcarriga

You can use the AddVolumesToVolumeAccessGroup method to add volumes to a specified volume access group.

Parameters

This method has the following input parameters:

Name Description Type Default value Required

volumes

List of volumeIDs to add to the volume access group.

integer array

None

Yes

volumeAccessGroupID

VolumeAccessGroupID of the volume access group to which volumes are added.

integer

None

Yes

Return value

This method has the following return value:

Name

Description

Type

volumeAccessGroup

An object containing information about the newly modified volume access group.

Request example

Requests for this method are similar to the following example:

{
   "method": "AddVolumesToVolumeAccessGroup",
   "params": {
      "volumeAccessGroupID": 96,
      "volumes": [1,2]
   },
   "id": 1
}

Response example

This method returns a response similar to the following example:

{
  "id": 1,
  "result": {
    "volumeAccessGroup": {
      "attributes": {},
      "deletedVolumes": [
        346
      ],
      "initiatorIDs": [
        116,
        117
      ],
      "initiators": [
        "iqn.1993-08.org.debian:01:181324777",
        "iqn.1993-08.org.debian:01:181324888"
      ],
      "name": "northbanktest",
      "volumeAccessGroupID": 96,
      "volumes": [
        1,
        2
      ]
    }
  }
}

New since version

9.6