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 DescribeUploadBuffer operation. Returns information about the upload buffer of a gateway. This operation is supported for the stored volume, cached volume, and tape gateway types.

The response includes disk IDs that are configured as upload buffer space, and it includes the amount of upload buffer space allocated and used.

Inheritance Hierarchy

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

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

Syntax

C#
public class DescribeUploadBufferRequest : AmazonStorageGatewayRequest
         IAmazonWebServiceRequest

The DescribeUploadBufferRequest type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property GatewayARN System.String

Gets and sets the property GatewayARN.

Examples

Returns information about the upload buffer of a gateway including disk IDs and the amount of upload buffer space allocated/used.

To describe upload buffer of gateway


var client = new AmazonStorageGatewayClient();
var response = client.DescribeUploadBuffer(new DescribeUploadBufferRequest 
{
    GatewayARN = "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B"
});

List<string> diskIds = response.DiskIds;
string gatewayARN = response.GatewayARN;
long uploadBufferAllocatedInBytes = response.UploadBufferAllocatedInBytes;
long uploadBufferUsedInBytes = response.UploadBufferUsedInBytes;

            

Returns information about the upload buffer of a gateway including disk IDs and the amount of upload buffer space allocated and used.

To describe upload buffer of a gateway


var client = new AmazonStorageGatewayClient();
var response = client.DescribeUploadBuffer(new DescribeUploadBufferRequest 
{
    GatewayARN = "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B"
});

List<string> diskIds = response.DiskIds;
string gatewayARN = response.GatewayARN;
long uploadBufferAllocatedInBytes = response.UploadBufferAllocatedInBytes;
long uploadBufferUsedInBytes = response.UploadBufferUsedInBytes;

            

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