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

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

Syntax

C#
public class DescribeGatewayInformationResponse : AmazonWebServiceResponse

The DescribeGatewayInformationResponse type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property ContentLength System.Int64 Inherited from Amazon.Runtime.AmazonWebServiceResponse.
Public Property GatewayARN System.String

Gets and sets the property GatewayARN.

Public Property GatewayId System.String

Gets and sets the property GatewayId.

The unique identifier assigned to your gateway during activation. This ID becomes part of the gateway Amazon Resource Name (ARN), which you use as input for other operations.

Public Property GatewayName System.String

Gets and sets the property GatewayName.

The name you configured for your gateway.

Public Property GatewayNetworkInterfaces System.Collections.Generic.List<Amazon.StorageGateway.Model.NetworkInterface>

Gets and sets the property GatewayNetworkInterfaces.

A NetworkInterface array that contains descriptions of the gateway network interfaces.

Public Property GatewayState System.String

Gets and sets the property GatewayState.

A value that indicates the operating state of the gateway.

Public Property GatewayTimezone System.String

Gets and sets the property GatewayTimezone.

A value that indicates the time zone configured for the gateway.

Public Property GatewayType System.String

Gets and sets the property GatewayType.

The type of the gateway.

Public Property HttpStatusCode System.Net.HttpStatusCode Inherited from Amazon.Runtime.AmazonWebServiceResponse.
Public Property LastSoftwareUpdate System.String

Gets and sets the property LastSoftwareUpdate.

The date on which the last software update was applied to the gateway. If the gateway has never been updated, this field does not return a value in the response.

Public Property NextUpdateAvailabilityDate System.String

Gets and sets the property NextUpdateAvailabilityDate.

The date on which an update to the gateway is available. This date is in the time zone of the gateway. If the gateway is not available for an update this field is not returned in the response.

Public Property ResponseMetadata Amazon.Runtime.ResponseMetadata Inherited from Amazon.Runtime.AmazonWebServiceResponse.

Examples

Returns metadata about a gateway such as its name, network interfaces, configured time zone, and the state (whether the gateway is running or not).

To describe metadata about the gateway


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

string gatewayARN = response.GatewayARN;
string gatewayId = response.GatewayId;
string gatewayName = response.GatewayName;
List gatewayNetworkInterfaces = response.GatewayNetworkInterfaces;
string gatewayState = response.GatewayState;
string gatewayTimezone = response.GatewayTimezone;
string gatewayType = response.GatewayType;
string lastSoftwareUpdate = response.LastSoftwareUpdate;
string nextUpdateAvailabilityDate = response.NextUpdateAvailabilityDate;

            

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