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.

A JSON object containing the following fields:

Inheritance Hierarchy

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

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

Syntax

C#
public class DescribeWorkingStorageResponse : AmazonWebServiceResponse

The DescribeWorkingStorageResponse 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 WorkingStorageAllocatedInBytes System.Int64

Gets and sets the property WorkingStorageAllocatedInBytes.

The total working storage in bytes allocated for the gateway. If no working storage is configured for the gateway, this field returns 0.

Public Property WorkingStorageUsedInBytes System.Int64

Gets and sets the property WorkingStorageUsedInBytes.

The total working storage in bytes in use by the gateway. If no working storage is configured for the gateway, this field returns 0.

Examples

This operation is supported only for the gateway-stored volume architecture. This operation is deprecated in cached-volumes API version (20120630). Use DescribeUploadBuffer instead.

To describe the working storage of a gateway [Depreciated]


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

List diskIds = response.DiskIds;
string gatewayARN = response.GatewayARN;
long workingStorageAllocatedInBytes = response.WorkingStorageAllocatedInBytes;
long workingStorageUsedInBytes = response.WorkingStorageUsedInBytes;

            

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