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

If a specific TapeARN is not specified, AWS 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 descried 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 response = client.DescribeTapeArchives(new DescribeTapeArchivesRequest 
{
    Limit = 123,
    Marker = "1",
    TapeARNs = new List {
        "arn:aws:storagegateway:us-east-1:999999999999:tape/AM08A1AD",
        "arn:aws:storagegateway:us-east-1:999999999999:tape/AMZN01A2A4"
    }
});

string marker = response.Marker;
List tapeArchives = response.TapeArchives;

            

Version Information

.NET Standard:
Supported in: 1.3

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

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms