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.

This is the response object from the DescribeUploadBuffer operation.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceResponse
    Amazon.StorageGateway.Model.DescribeUploadBufferResponse

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

Syntax

C#
public class DescribeUploadBufferResponse : AmazonWebServiceResponse

The DescribeUploadBufferResponse type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property ContentLength System.Int64 Inherited from Amazon.Runtime.AmazonWebServiceResponse.
Public Property DiskIds System.Collections.Generic.List<System.String>

Gets and sets the property DiskIds.

An array of the gateway's local disk IDs that are configured as working storage. Each local disk ID is specified as a string (minimum length of 1 and maximum length of 300). If no local disks are configured as working storage, then the DiskIds array is empty.

Public Property GatewayARN System.String

Gets and sets the property GatewayARN.

Public Property HttpStatusCode System.Net.HttpStatusCode Inherited from Amazon.Runtime.AmazonWebServiceResponse.
Public Property ResponseMetadata Amazon.Runtime.ResponseMetadata Inherited from Amazon.Runtime.AmazonWebServiceResponse.
Public Property UploadBufferAllocatedInBytes System.Int64

Gets and sets the property UploadBufferAllocatedInBytes.

The total number of bytes allocated in the gateway's as upload buffer.

Public Property UploadBufferUsedInBytes System.Int64

Gets and sets the property UploadBufferUsedInBytes.

The total number of bytes being used in the gateway's upload buffer.

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