Call DescribeDcdnFullDomainsBlockIPConfig to query the IP address blocklist configuration.
Operation description
This operation returns the currently effective IP addresses and their expiration times for specified IP addresses or Classless Inter-Domain Routing (CIDR) blocks. If you do not specify any IP addresses, all currently effective IP addresses and their expiration times are returned.
The results are written to an Object Storage Service (OSS) object, and an OSS URL is returned. The content in the OSS object uses the
ip-expiration timeformat. The time is in the YYYY-MM-DD hh:mm:ss format.The shared URL of the OSS object is valid for 3 days.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dcdn:DescribeDcdnFullDomainsBlockIPConfig |
none |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| IPList |
string |
No |
The list of IP addresses or CIDR blocks to query. Separate multiple IP addresses with commas (,). You can specify up to 50 IP addresses. |
10.XX.XX.10/24 |
Response elements
|
Parameter |
Type |
Description |
Example |
|
object |
The response schema. |
||
| RequestId |
string |
The request ID. |
0C58632F-BA12-1A1E-986D-09285752B42C |
| Message |
string |
The result message. If the request is successful, an OSS URL is returned. If the request fails, an error message is returned. |
http://xxxx-api.oss-cn-hangzhou.aliyuncs.com/blocklist%2Fxxxxxxxxxxxx.txt?Expires=1682663947&OSSAccessKeyId=xxxxxxxxxx&Signature=xxxxxx |
| Code |
integer |
The result code. A value other than 0 may indicate one of the following errors:
|
0 |
Examples
Success response
JSON format
{
"RequestId": "0C58632F-BA12-1A1E-986D-09285752B42C",
"Message": "http://xxxx-api.oss-cn-hangzhou.aliyuncs.com/blocklist%2Fxxxxxxxxxxxx.txt?Expires=1682663947&OSSAccessKeyId=xxxxxxxxxx&Signature=xxxxxx",
"Code": 0
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParameter | The specified parameter is invalid. | A parameter is set to an invalid value. |
| 500 | InternalError | An internal error occurred; please try again later. | An internal error occurred. Try again later. If the error persists, submit a ticket. |
| 406 | InvalidKey.QuotaFull | The maximum number of keys is exceeded. | The number of keys has reached the upper limit. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.