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 DescribeTapeArchives operation. Returns a description of specified virtual tapes in the virtual tape shelf (VTS). This operation is only supported in the tape gateway type.

If a specific TapeARN is not specified, Storage Gateway returns a description of all virtual tapes found in the VTS associated with your account.

Inheritance Hierarchy

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

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

Syntax

C#
public class DescribeTapeArchivesRequest : AmazonStorageGatewayRequest
         IAmazonWebServiceRequest

The DescribeTapeArchivesRequest type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property Limit System.Int32

Gets and sets the property Limit.

Specifies that the number of virtual tapes described be limited to the specified number.

Public Property Marker System.String

Gets and sets the property Marker.

An opaque string that indicates the position at which to begin describing virtual tapes.

Public Property TapeARNs System.Collections.Generic.List<System.String>

Gets and sets the property TapeARNs.

Specifies one or more unique Amazon Resource Names (ARNs) that represent the virtual tapes you want to describe.

Examples

Returns a description of specified virtual tapes in the virtual tape shelf (VTS).

To describe virtual tapes in the VTS


var client = new AmazonStorageGatewayClient();
var response = client.DescribeTapeArchives(new DescribeTapeArchivesRequest 
{
    Limit = 123,
    Marker = "1",
    TapeARNs = new List<string> {
        "arn:aws:storagegateway:us-east-1:999999999999:tape/AM08A1AD",
        "arn:aws:storagegateway:us-east-1:999999999999:tape/AMZN01A2A4"
    }
});

string marker = response.Marker;
List<TapeArchive> tapeArchives = response.TapeArchives;

            

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