Пример #1
0
        public void TestDescribeUserQuota()
        {
            var redisClient = GetRedisClient();
            DescribeUserQuotaRequest request = new DescribeUserQuotaRequest();

            request.RegionId = "cn-north-1";
            var result = redisClient.DescribeUserQuota(request).Result;

            _output.WriteLine(JsonConvert.SerializeObject(result));
        }
Пример #2
0
 /// <summary>
 ///  获取配额
 /// </summary>
 /// <param name="request">请求参数信息</param>
 /// <returns>请求结果信息</returns>
 public async Task <DescribeUserQuotaResponse> DescribeUserQuota(DescribeUserQuotaRequest request)
 {
     return(await new DescribeUserQuotaExecutor().Client(this).Execute <DescribeUserQuotaResponse, DescribeUserQuotaResult, DescribeUserQuotaRequest>(request).ConfigureAwait(false));
 }
Пример #3
0
 /// <summary>
 ///  获取配额
 /// </summary>
 /// <param name="request">请求参数信息</param>
 /// <returns>请求结果信息</returns>
 public DescribeUserQuotaResponse DescribeUserQuota(DescribeUserQuotaRequest request)
 {
     return(new DescribeUserQuotaExecutor().Client(this).Execute <DescribeUserQuotaResponse, DescribeUserQuotaResult, DescribeUserQuotaRequest>(request));
 }