Exemple #1
0
        public void StorageGatewayDescribeCache()
        {
            #region to-describe-cache-information-1471385756036

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

            long          cacheAllocatedInBytes = response.CacheAllocatedInBytes;
            double        cacheDirtyPercentage  = response.CacheDirtyPercentage;
            double        cacheHitPercentage    = response.CacheHitPercentage;
            double        cacheMissPercentage   = response.CacheMissPercentage;
            double        cacheUsedPercentage   = response.CacheUsedPercentage;
            List <string> diskIds    = response.DiskIds;
            string        gatewayARN = response.GatewayARN;

            #endregion
        }