Ejemplo n.º 1
0
        public void TestDescribeMetrics()
        {
            MonitorClient          monitorClient = GetMonitorClient();
            DescribeMetricsRequest request       = new DescribeMetricsRequest();

            request.RegionId    = "cn-north-1";
            request.ServiceCode = "vm";
            var result = monitorClient.DescribeMetrics(request).Result;

            _output.WriteLine(JsonConvert.SerializeObject(result));
        }