全部产品
Search
文档中心

边缘安全加速:DescribeHttpDDoSIntelligentRateLimitRules - 查询深度学习和防护下发的频率控制规则

更新时间:Jan 19, 2026

查询深度学习和防护下发的频率控制规则。

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

调试

授权信息

当前API暂无授权信息透出。

请求参数

名称

类型

必填

描述

示例值

SiteId

integer

站点 ID,可通过调用 ListSites 接口获取。

123456****

PageNumber

integer

当前页码。

1

PageSize

integer

分页大小。

10

RuleType

string

规则类型。

cc

返回参数

名称

类型

描述

示例值

object

Schema of Response

RequestId

string

Id of the request

36af3fcc-43d0-441c-86b1-428951dc8225

TotalCount

integer

总规则数。

100

PageNumber

integer

当前页码。

1

PageSize

integer

分页大小。

10

RuleInfos

array<object>

规则信息列表。

object

RuleName

string

规则名称。

inner_cc_client_ip_ratelimit

RecordName

string

记录名称。

test.example.com

Action

string

执行动作。

js

RuleId

integer

规则 ID。

20110849

RateLimit

string

频次信息。

{"threshold":2000,"interval":5,"target":"ip","ttl":600}

Statistics

string

统计信息。

{"field":"ip","mode":"count"}

Condition

string

规则触发条件。

{"$and":[{"key":"URI","opValue":"prefix-match","values":"/"}]}

PunishTime

integer

处置时间。(单位:秒)

86400

LogRuleId

integer

防护规则 ID(日志记录用)。

100030

示例

正常返回示例

JSON格式

{
  "RequestId": "36af3fcc-43d0-441c-86b1-428951dc8225",
  "TotalCount": 100,
  "PageNumber": 1,
  "PageSize": 10,
  "RuleInfos": [
    {
      "RuleName": "inner_cc_client_ip_ratelimit",
      "RecordName": "test.example.com",
      "Action": "js",
      "RuleId": 20110849,
      "RateLimit": "{\"threshold\":2000,\"interval\":5,\"target\":\"ip\",\"ttl\":600}",
      "Statistics": "{\"field\":\"ip\",\"mode\":\"count\"}",
      "Condition": "{\"$and\":[{\"key\":\"URI\",\"opValue\":\"prefix-match\",\"values\":\"/\"}]}",
      "PunishTime": 86400,
      "LogRuleId": 100030
    }
  ]
}

错误码

HTTP status code

错误码

错误信息

描述

400 InvalidParameter.SiteId The specified SiteId is invalid. 站点ID参数非法。
400 ErrSiteIdNoteEnterprise This feature is unavailable because your website is not associated with an Enterprise plan. Upgrade your plan to Enterprise. 当前站点非企业版套餐,无法使用该功能,请升级站点为企业版套餐。
500 InternalError Failed to call the service. Try again later or contact technical support. 调用服务失败,请稍后重试或联系客服咨询详情。
403 SiteIdDDoSVersionCheckFailed SiteId DDoS version check failed. 站点对应DDoS版本检查失败。

访问错误中心查看更多错误码。

变更历史

更多信息,参考变更详情