BatchDescribeCdnIpInfo
Queries whether IP addresses belong to Alibaba Cloud Content Delivery Network (CDN) in batches.
Operation description
Rate limit per user: 20 calls per second.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cdn:BatchDescribeCdnIpInfo |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| IpAddrList |
string |
Yes |
The list of IP addresses to query. Separate multiple IP addresses with commas (,). You can query up to 20 IP addresses at a time. Note
|
111.XXX.XXX.230,47.XXX.XXX.243 |
| Language |
string |
No |
The language of the query results. Valid values:
Valid values:
|
en |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The request ID. |
55ADD936-763F-5E1A-BF54-2EA3F6E94A52 |
| IpInfoList |
array<object> |
The query results of the IP addresses. |
|
|
object |
|||
| IpAddress |
string |
The IP address. |
111.XXX.XXX.230 |
| IspName |
string |
The name of the ISP. |
China Mobile |
| Country |
string |
The country. |
China |
| Province |
string |
The province. |
Beijing |
| City |
string |
The city. |
Beijing |
| CdnIp |
string |
Indicates whether the IP address is a Content Delivery Network (CDN) point of presence. Valid values:
|
true |
Examples
Success response
JSON format
{
"RequestId": "55ADD936-763F-5E1A-BF54-2EA3F6E94A52",
"IpInfoList": [
{
"IpAddress": "111.XXX.XXX.230",
"IspName": "China Mobile",
"Country": "China",
"Province": "Beijing",
"City": "Beijing",
"CdnIp": "true"
}
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvaildBatchIp.LengthTooLong | The batchIp parameter is too long | The length of the IP addresses exceeds the limit. |
| 403 | InvaildParameter | The parameter you provided is invalid. | The format of the domain name is invalid. Correct the format and try again. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.