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 DescribeVTLDevices operation. Returns a description of virtual tape library (VTL) devices for the specified tape gateway. In the response, Storage Gateway returns VTL device information.

This operation is only supported in the tape gateway type.

Inheritance Hierarchy

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

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

Syntax

C#
public class DescribeVTLDevicesRequest : AmazonStorageGatewayRequest
         IAmazonWebServiceRequest

The DescribeVTLDevicesRequest type exposes the following members

Constructors

NameDescription
Public Method DescribeVTLDevicesRequest()

Properties

NameTypeDescription
Public Property GatewayARN System.String

Gets and sets the property GatewayARN.

Public Property Limit System.Int32

Gets and sets the property Limit.

Specifies that the number of VTL devices 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 the VTL devices.

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

Gets and sets the property VTLDeviceARNs.

An array of strings, where each string represents the Amazon Resource Name (ARN) of a VTL device.

All of the specified VTL devices must be from the same gateway. If no VTL devices are specified, the result will contain all devices on the specified gateway.

Examples

Returns a description of virtual tape library (VTL) devices for the specified gateway.

To describe virtual tape library (VTL) devices of a single gateway


var client = new AmazonStorageGatewayClient();
var response = client.DescribeVTLDevices(new DescribeVTLDevicesRequest 
{
    GatewayARN = "arn:aws:storagegateway:us-east-1:999999999999:gateway/sgw-12A3456B",
    Limit = 123,
    Marker = "1",
    VTLDeviceARNs = new List<string> {
                    
    }
});

string gatewayARN = response.GatewayARN;
string marker = response.Marker;
List<VTLDevice> vtlDevices = response.VTLDevices;

            

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