Пример #1
0
        public void StorageGatewayActivateGateway()
        {
            #region to-activate-the-gateway-1471281611207

            var client   = new AmazonStorageGatewayClient();
            var response = client.ActivateGateway(new ActivateGatewayRequest
            {
                ActivationKey     = "29AV1-3OFV9-VVIUB-NKT0I-LRO6V",
                GatewayName       = "My_Gateway",
                GatewayRegion     = "us-east-1",
                GatewayTimezone   = "GMT-12:00",
                GatewayType       = "STORED",
                MediumChangerType = "AWS-Gateway-VTL",
                TapeDriveType     = "IBM-ULT3580-TD5"
            });

            string gatewayARN = response.GatewayARN;

            #endregion
        }