调用DescribeAutoCcListCount查询针对DDoS高防实例的黑名单和白名单IP的数量。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
请求参数
名称 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|
Action | String | 是 | DescribeAutoCcListCount |
要执行的操作。取值:DescribeAutoCcListCount |
InstanceId | String | 是 | ddoscoo-cn-mp91j1ao**** |
DDoS高防实例的ID。 说明 您可以调用DescribeInstanceIds查询所有DDoS高防实例的ID信息。
|
RegionId | String | 否 | cn-hangzhou |
DDoS高防服务地域ID。取值:
|
QueryType | String | 否 | manual |
要查询的黑白名单IP的来源。取值:
|
返回数据
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
BlackCount | Integer | 0 |
黑名单IP的数量。 |
RequestId | String | 5AC3785F-C789-4622-87A4-F58BE7F6B184 |
本次请求的ID。 |
WhiteCount | Integer | 2 |
白名单IP的数量。 |
示例
请求示例
http(s)://[Endpoint]/?Action=DescribeAutoCcListCount
&InstanceId=ddoscoo-cn-mp91j1ao****
&<公共请求参数>
正常返回示例
XML
格式
<DescribeAutoCcListCountResponse>
<BlackCount>0</BlackCount>
<RequestId>5AC3785F-C789-4622-87A4-F58BE7F6B184</RequestId>
<WhiteCount>2</WhiteCount>
</DescribeAutoCcListCountResponse>
JSON
格式
{
"BlackCount": 0,
"RequestId": "5AC3785F-C789-4622-87A4-F58BE7F6B184",
"WhiteCount": 2
}
错误码
访问错误中心查看更多错误码。
在文档使用中是否遇到以下问题
更多建议
匿名提交