Queries the list of protected IP addresses for a single Anti-DDoS Origin instance.
Operation description
You can call this operation to query a paginated list of protected IP addresses for an Anti-DDoS Origin instance. The query returns details such as the IP addresses, the types of cloud assets to which the IP addresses belong, and their current status, such as whether they are under blackhole filtering.
QPS limit
This operation has a queries per second (QPS) limit of 10 for each user. Calls that exceed this limit are throttled, which may affect your business. We recommend that you call this operation within this limit.
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. The maximum value is 50. |
10 |
| InstanceId |
string |
Yes |
The ID of the Anti-DDoS Origin instance to query. Note
Call DescribeInstanceList 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 type of the cloud asset to which the protected IP address belongs. 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 set this parameter, the instance belongs to the default resource group. |
rg-acfm2pz25js**** |
| RegionId |
string |
No |
The region ID of the Anti-DDoS Origin instance. Note
Call DescribeRegions to query the IDs of all regions that Anti-DDoS Origin supports. |
cn-hangzhou |
| MemberUid |
string |
No |
The UID of the member account. |
170858869679**** |
In addition to the parameters specific to this operation, you must also specify the common request parameters. For more information about common request parameters, see Common parameters.
For information about the request format, see the request example in the Examples section of 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 that are returned. |
1 |
| Success |
boolean |
Indicates whether the request was successful. Valid values:
|
true |
| IpList |
array<object> |
The list of IP addresses that are 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 remarks on the cloud asset to which the IP address belongs, such as an ECS instance or an SLB instance. Note
This parameter is not returned if no remarks are specified for the cloud asset. |
test |
| Product |
string |
The type of the cloud asset to which the IP address belongs. Valid values:
|
ECS |
| Region |
string |
The region where the protected IP address is deployed. Note
This parameter is not returned if the protected IP address is deployed in the same region as the instance. |
cn-hangzhou |
| MemberUid |
string |
The UID of the member account. |
170858869679**** |
| NsmStatus |
integer |
The status of cross-border traffic blocking. Valid values:
|
0 |
| NsmStartAt |
integer |
The start time of cross-border traffic blocking. |
1715655000 |
| NsmExpireAt |
integer |
The end time of cross-border traffic blocking. |
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.