AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Container for the parameters to the DescribeStorediSCSIVolumes operation. Returns the description of the gateway volumes specified in the request. The list of gateway volumes in the request must be from one gateway. In the response, Storage Gateway returns volume information sorted by volume ARNs. This operation is only supported in stored volume gateway type.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.StorageGateway.AmazonStorageGatewayRequest
      Amazon.StorageGateway.Model.DescribeStorediSCSIVolumesRequest

Namespace: Amazon.StorageGateway.Model
Assembly: AWSSDK.StorageGateway.dll
Version: 3.x.y.z

Syntax

C#
public class DescribeStorediSCSIVolumesRequest : AmazonStorageGatewayRequest
         IAmazonWebServiceRequest

The DescribeStorediSCSIVolumesRequest type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property VolumeARNs System.Collections.Generic.List<System.String>

Gets and sets the property VolumeARNs.

An array of strings where each string represents the Amazon Resource Name (ARN) of a stored volume. All of the specified stored volumes must be from the same gateway. Use ListVolumes to get volume ARNs for a gateway.

Examples

Returns the description of the gateway volumes specified in the request belonging to the same gateway.

To describe the volumes of a gateway


var client = new AmazonStorageGatewayClient();
var response = client.DescribeStorediSCSIVolumes(new DescribeStorediSCSIVolumesRequest 
{
    VolumeARNs = new List<string> {
        "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B/volume/vol-1122AABB"
    }
});

List<StorediSCSIVolume> storediSCSIVolumes = response.StorediSCSIVolumes;

            

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5