/AWS1/CL_STG=>LISTVOLUMES()
¶
About ListVolumes¶
Lists the iSCSI stored volumes of a gateway. Results are sorted by volume ARN. The response includes only the volume ARNs. If you want additional volume information, use the DescribeStorediSCSIVolumes or the DescribeCachediSCSIVolumes API.
The operation supports pagination. By default, the operation returns a maximum of up to
100 volumes. You can optionally specify the Limit
field in the body to limit
the number of volumes in the response. If the number of volumes returned in the response is
truncated, the response includes a Marker field. You can use this Marker value in your
subsequent request to retrieve the next set of volumes. This operation is only supported in
the cached volume and stored volume gateway types.
Method Signature¶
IMPORTING¶
Optional arguments:¶
IV_GATEWAYARN
TYPE /AWS1/STGGATEWAYARN
/AWS1/STGGATEWAYARN
¶
GatewayARN
IV_MARKER
TYPE /AWS1/STGMARKER
/AWS1/STGMARKER
¶
A string that indicates the position at which to begin the returned list of volumes. Obtain the marker from the response of a previous List iSCSI Volumes request.
IV_LIMIT
TYPE /AWS1/STGPOSITIVEINTOBJECT
/AWS1/STGPOSITIVEINTOBJECT
¶
Specifies that the list of volumes returned be limited to the specified number of items.