Skip to main content
Element Software

ListVolumesForAccount

Contributors netapp-pcarriga

You can use the ListVolumesForAccount method to list active and (pending) deleted volumes for an account.

Parameters

This method has the following input parameters:

Name Description Type Default value Required

includeVirtualVolumes

Virtual volumes are included in the response by default. To exclude virtual volumes, set to false.

boolean

true

No

accountID

All volumes owned by this accountID are returned.

integer

No

Yes

Return value

This method has the following return value:

Name

Description

Type

volumes

List of volume information.

volume array

Request example

Requests for this method are similar to the following example:

{
   "method": "ListVolumesForAccount",
   "params": {
      "accountID"  : 1
   },
   "id" : 1
}

Response example

Responses for this method are similar to the following example:

{
    "id": 1,
    "result": {
        "volumes": [
            {
                "access": "readWrite",
                "accountID": 1,
                "attributes": {},
                "blockSize": 4096,
                "createTime": "2018-07-22T16:15:25Z",
                "deleteTime": "",
                "enable512e": false,
                "iqn": "iqn.2010-01.com.solidfire:0oto.test1.25",
                "name": "test1",
                "purgeTime": "",
                "qos": {
                    "burstIOPS": 15000,
                    "burstTime": 60,
                    "curve": {
                        "4096": 100,
                        "8192": 160,
                        "16384": 270,
                        "32768": 500,
                        "65536": 1000,
                        "131072": 1950,
                        "262144": 3900,
                        "524288": 7600,
                        "1048576": 15000
                    },
                    "maxIOPS": 15000,
                    "minIOPS": 50
                },
                "scsiEUIDeviceID": "306f746f00000019f47acc0100000000",
                "scsiNAADeviceID": "6f47acc100000000306f746f00000019",
                "sliceCount": 1,
                "status": "active",
                "totalSize": 1000341504,
                "virtualVolumeID": null,
                "volumeAccessGroups": [],
                "volumeID": 25,
                "volumePairs": []
            }
        ]
    }
}

New since version

9.6