コード例 #1
0
        public void AutoScalingDescribeAccountLimits()
        {
            #region autoscaling-describe-account-limits-1

            var client   = new AmazonAutoScalingClient();
            var response = client.DescribeAccountLimits(new DescribeAccountLimitsRequest
            {
            });

            int maxNumberOfAutoScalingGroups    = response.MaxNumberOfAutoScalingGroups;
            int maxNumberOfLaunchConfigurations = response.MaxNumberOfLaunchConfigurations;
            int numberOfAutoScalingGroups       = response.NumberOfAutoScalingGroups;
            int numberOfLaunchConfigurations    = response.NumberOfLaunchConfigurations;

            #endregion
        }