AWS SDK for .NET Documentation
ListVolumesRequest Class
AmazonAmazon.StorageGateway.ModelListVolumesRequest Did this page help you?   Yes   No    Tell us about it...
Container for the parameters to the ListVolumes operation.

This operation 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 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.

Declaration Syntax
C#
public class ListVolumesRequest : AmazonWebServiceRequest
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
ListVolumesRequest()()()()
Initializes a new instance of the ListVolumesRequest class

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
GatewayARN
The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation to return a list of gateways for your account and region.

Constraints:

Length
50 - 500


GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the type of the current instance.
(Inherited from Object.)
Limit
Specifies that the list of volumes returned be limited to the specified number of items.

Constraints:

Range
1 -


Marker
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.

Constraints:

Length
1 - 1000


ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
WithGatewayARN(String) Obsolete.
Sets the GatewayARN property

WithLimit(Int32) Obsolete.
Sets the Limit property

WithMarker(String) Obsolete.
Sets the Marker property

Inheritance Hierarchy
Object
AmazonWebServiceRequest
 ListVolumesRequest
See Also

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)