Esempio n. 1
0
        public void TestDescriptionInstance()
        {
            DescribeInstanceRequest request = new DescribeInstanceRequest();

            request.RegionId   = "cn-north-1";
            request.InstanceId = "i-zjjyo8hz89";
            var vmClient = GetVmClient();
            var response = vmClient.DescribeInstance(request).Result;

            _output.WriteLine(JsonConvert.SerializeObject(response));
        }
Esempio n. 2
0
 /// <summary>
 ///  查询es实例的详细信息
 /// </summary>
 /// <param name="request">请求参数信息</param>
 /// <returns>请求结果信息</returns>
 public async Task <DescribeInstanceResponse> DescribeInstance(DescribeInstanceRequest request)
 {
     return(await new DescribeInstanceExecutor().Client(this).Execute <DescribeInstanceResponse, DescribeInstanceResult, DescribeInstanceRequest>(request).ConfigureAwait(false));
 }
Esempio n. 3
0
 /// <summary>
 ///  查询es实例的详细信息
 /// </summary>
 /// <param name="request">请求参数信息</param>
 /// <returns>请求结果信息</returns>
 public DescribeInstanceResponse DescribeInstance(DescribeInstanceRequest request)
 {
     return(new DescribeInstanceExecutor().Client(this).Execute <DescribeInstanceResponse, DescribeInstanceResult, DescribeInstanceRequest>(request));
 }