Queries the numbers of IP addresses in the whitelist and blacklist of an Anti-DDoS Pro or Anti-DDoS Premium instance.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | DescribeAutoCcListCount |
The operation that you want to perform. Set the value to DescribeAutoCcListCount. |
InstanceId | String | Yes | ddoscoo-cn-mp91j1ao**** |
The ID of the instance. Note You can call the DescribeInstanceIds operation to query the IDs of all instances.
|
RegionId | String | No | cn-hangzhou |
The region ID of the instance. Valid values:
|
QueryType | String | No | manual |
The mode of how an IP address is added to the whitelist or blacklist. Valid values:
|
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
BlackCount | Integer | 0 |
The total number of IP addresses in the blacklist. |
RequestId | String | 5AC3785F-C789-4622-87A4-F58BE7F6B184 |
The ID of the request. |
WhiteCount | Integer | 2 |
The total number of IP addresses in the whitelist. |
Examples
Sample requests
http(s)://[Endpoint]/?Action=DescribeAutoCcListCount
&InstanceId=ddoscoo-cn-mp91j1ao****
&<Common request parameters>
Sample success responses
XML
format
<DescribeAutoCcListCountResponse>
<BlackCount>0</BlackCount>
<RequestId>5AC3785F-C789-4622-87A4-F58BE7F6B184</RequestId>
<WhiteCount>2</WhiteCount>
</DescribeAutoCcListCountResponse>
JSON
format
{
"BlackCount": 0,
"RequestId": "5AC3785F-C789-4622-87A4-F58BE7F6B184",
"WhiteCount": 2
}
Error codes
For a list of error codes, visit the API Error Center.