配额频控管理
更新时间:2023-09-06
变更配额频控
通过以下代码可以变更配额或频控
QuotaUpdateRequest request = new QuotaUpdateRequest();
request.QuotaPerDay = 100;
request.QuotaPerMonth = 1000;
request.QuotaPerMonth = 1000;
request.RateLimitPerMinute = 1;
request.RateLimitPerHour = 3;
request.RateLimitPerDay = 10;
this.client.UpdateQuotaRate(request);
查询配额频控
通过以下代码可以查看配额和频控详情
QuotaQueryResponse response = this.client.QueryQuotaRate();