Queries the list of protected IP addresses for a single Anti-DDoS Origin instance.
Operation description
This operation performs a paged query to retrieve the list of protected IP addresses for a single Anti-DDoS Origin instance. The information includes the IP address, the cloud asset type to which the IP address belongs, and the current status of the IP address, such as the blackhole filtering status.
QPS limit
The queries per second (QPS) limit per user is 10. If the limit is exceeded, API calls are throttled, which may affect your services. Call the operation at a reasonable frequency.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-antiddosbag:DescribePackIpList |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| PageNo |
integer |
Yes |
The number of the page to return. |
1 |
| PageSize |
integer |
Yes |
The number of protected IP addresses to return on each page. Maximum value: 50. |
10 |
| InstanceId |
string |
Yes |
The ID of the Anti-DDoS Origin instance to query. Note
You can call the DescribeInstanceList operation to query the IDs of all Anti-DDoS Origin instances. |
ddosbgp-cn-n6w1r7nz**** |
| Ip |
string |
No |
The protected IP address to query. |
47.98.XX.XX |
| ProductName |
string |
No |
The cloud asset type of the protected IP address to query. Valid values:
|
ECS |
ResourceGroupId
deprecated
|
string |
No |
The ID of the resource group to which the Anti-DDoS Origin instance belongs in Resource Management. If you do not specify this parameter, the default resource group is used. |
rg-acfm2pz25js**** |
| RegionId |
string |
No |
The region ID of the Anti-DDoS Origin instance. Note
You can call the DescribeRegions operation to query all region IDs supported by Anti-DDoS Origin. |
cn-hangzhou |
| MemberUid |
string |
No |
The UID of the member account. |
170858869679**** |
When you call this operation, you must add the common request parameters of Alibaba Cloud API in addition to the request parameters described in this topic. For more information about common request parameters, see Common parameters.
For more information about the request format, see the Examples section in this topic.
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Code |
string |
The HTTP status code of the request. For more information about status codes, see Common parameters. |
200 |
| RequestId |
string |
The ID of the request. |
4FD1578A-BD77-50B7-A969-45A374A7ED22 |
| Total |
integer |
The number of protected IP addresses queried. |
1 |
| Success |
boolean |
Indicates whether the request is successful. Valid values:
|
true |
| IpList |
array<object> |
The list of IP addresses protected by the Anti-DDoS Origin instance. |
|
|
object |
|||
| Status |
string |
The current status of the IP address. Valid values:
|
normal |
| Ip |
string |
The IP address. |
47.98.XX.XX |
| Remark |
string |
The description of the cloud asset to which the IP address belongs, such as an ECS instance or a CLB instance. Note
If the cloud asset has no description, this parameter is not returned. |
test |
| Product |
string |
The cloud asset type to which the IP address belongs. Valid values:
|
ECS |
| Region |
string |
The region of the protected IP address. Note
If the region of the protected IP address is the same as the region of the instance, this parameter is not returned. |
cn-hangzhou |
| MemberUid |
string |
The UID of the member account. |
170858869679**** |
| NsmStatus |
integer |
The status of near-origin traffic diversion. Valid values:
|
0 |
| NsmStartAt |
integer |
The start time of near-origin traffic diversion. |
1715655000 |
| NsmExpireAt |
integer |
The end time of near-origin traffic diversion. |
1715658000 |
Examples
Success response
JSON format
{
"Code": "200",
"RequestId": "4FD1578A-BD77-50B7-A969-45A374A7ED22",
"Total": 1,
"Success": true,
"IpList": [
{
"Status": "normal",
"Ip": "47.98.XX.XX",
"Remark": "test",
"Product": "ECS",
"Region": "cn-hangzhou",
"MemberUid": "170858869679****\n",
"NsmStatus": 0,
"NsmStartAt": 1715655000,
"NsmExpireAt": 1715658000
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.