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.

Sends a request to the AWS Storage Gateway server running at the specified address, and returns the activation key for that server.

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

Syntax

C#
public String GetActivationKey(
         String gatewayAddress,
         RegionEndpoint activationRegion,
         Int32 maxRetries,
         Int32 maxBackoff
)

Parameters

gatewayAddress
Type: System.String

The DNS name or IP address of a running AWS Storage Gateway

activationRegion
Type: Amazon.RegionEndpoint

The region in which the gateway will be activated.

maxRetries
Type: System.Int32

The maximum number of retries to attempt on failure

maxBackoff
Type: System.Int32

The maximum backoff time, in milliseconds, for retry attempts. Backoff times between retries rise exponentially until they hit this ceiling.

Return Value


Type: String
The activation key required for some API calls to AWS Storage Gateway.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5