Skip to main content
Element Software
A newer release of this product is available.

ListActiveVolumes

Contributors netapp-pcarriga

You can use the ListActiveVolumes method to get the list of active volumes currently in the system. The list of volumes is sorted in VolumeID order and can be returned in multiple parts (pages).

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

startVolumeID

Starting VolumeID to return. If no volume exists with this VolumeID, the next volume by VolumeID order is used as the start of the list. To page through the list, pass the VolumeID of the last volume in the previous response + 1.

integer

0

No

limit

Maximum number of volume info objects to return. 0 (zero) returns all volumes (unlimited).

integer

(unlimited)

No

Return value

This method has the following return value:

Name

Description

Type

volumes

List of active volumes.

volume array

Request example

Requests for this method are similar to the following example:

{
   "method": "ListActiveVolumes",
   "params": {
      "startVolumeID"  : 0,
      "limit" : 1000
   },
   "id" : 1
}

Response example

Due to the length of this response example, it is documented in a supplementary topic.

New since version

9.6