示例#1
0
        public void StorageGatewayDescribeWorkingStorage()
        {
            #region to-describe-the-working-storage-of-a-gateway-depreciated-1472070842332

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

            List <string> diskIds    = response.DiskIds;
            string        gatewayARN = response.GatewayARN;
            long          workingStorageAllocatedInBytes = response.WorkingStorageAllocatedInBytes;
            long          workingStorageUsedInBytes      = response.WorkingStorageUsedInBytes;

            #endregion
        }