AWS SDK for .NET Documentation
ActivateGateway Method (activateGatewayRequest)
AmazonAmazon.StorageGatewayAmazonStorageGatewayActivateGateway(ActivateGatewayRequest) Did this page help you?   Yes   No    Tell us about it...

This operation activates the gateway you previously deployed on your host. For more information, see Downloading and Deploying AWS Storage Gateway VM . In the activation process you specify information such as the region you want to use for storing snapshots, the time zone for scheduled snapshots and the gateway schedule window, an activation key, and a name for your gateway. The activation process also associates your gateway with your account (see UpdateGatewayInformation).

NOTE:You must power on the gateway VM before you can activate your gateway.

Declaration Syntax
C#
ActivateGatewayResponse ActivateGateway(
	ActivateGatewayRequest activateGatewayRequest
)
Parameters
activateGatewayRequest (ActivateGatewayRequest)
Container for the necessary parameters to execute the ActivateGateway service method on AmazonStorageGateway.
Return Value
The response from the ActivateGateway service method, as returned by AmazonStorageGateway.
Exceptions

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)