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)); }
/// <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)); }
/// <summary> /// 获取配额 /// </summary> /// <param name="request">请求参数信息</param> /// <returns>请求结果信息</returns> public DescribeUserQuotaResponse DescribeUserQuota(DescribeUserQuotaRequest request) { return(new DescribeUserQuotaExecutor().Client(this).Execute <DescribeUserQuotaResponse, DescribeUserQuotaResult, DescribeUserQuotaRequest>(request)); }