Exemplo n.º 1
0
        public void StorageGatewayDescribeGatewayInformation()
        {
            #region to-describe-metadata-about-the-gateway-1471467849079

            var client   = new AmazonStorageGatewayClient();
            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 <NetworkInterface> gatewayNetworkInterfaces = response.GatewayNetworkInterfaces;
            string gatewayState               = response.GatewayState;
            string gatewayTimezone            = response.GatewayTimezone;
            string gatewayType                = response.GatewayType;
            string lastSoftwareUpdate         = response.LastSoftwareUpdate;
            string nextUpdateAvailabilityDate = response.NextUpdateAvailabilityDate;

            #endregion
        }