Queries the details of the assets within the current Alibaba Cloud account and the details of the Anti-DDoS Origin instance to which the assets belong. The assets can be elastic IP addresses (EIPs). The assets can also be Elastic Compute Service (ECS) instances or Server Load Balancer (SLB) instances that are assigned public IP addresses.
Operation description
If one or more assets of the current Alibaba Cloud account are added to an Anti-DDoS Origin instance, you can call the DescribeInstanceIpAddress operation to query the DDoS mitigation information and the details of the Anti-DDoS Origin instance. The information and the details include the basic protection threshold and traffic scrubbing threshold for the assets, DDoS mitigation status of the assets, ID of the instance, and the mitigation status of the instance.
Limits
You can call this operation up to 200 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
Debugging
Authorization information
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
DdosRegionId | string | Yes | The region ID of the asset. Note
You can call the DescribeRegions operation to query the most recent region list.
| cn-hangzhou |
InstanceType | string | Yes | The type of the asset. Valid values:
| ecs |
InstanceName | string | No | The name of the asset. | launch-advisor-2021**** |
DdosStatus | string | No | The DDoS mitigation status of the asset. Valid values:
| normal |
InstanceId | string | No | The ID of the instance to which the asset is added. | i-bp1cb6x80tfgocid**** |
InstanceIp | string | No | The IP address of the asset. | 192.0.XX.XX |
CurrentPage | integer | No | The number of the page to return. Default value: 1. | 1 |
PageSize | integer | No | The number of entries to return on each page. Default value: 10. | 10 |
Response parameters
Examples
Sample success responses
JSON
format
{
"Total": 1,
"RequestId": "BC0907F8-A9F3-5E11-977B-D59CD98C64ED",
"InstanceList": [
{
"InstanceId": "i-bp1cb6x80tfgocid****",
"InstanceType": "ecs",
"InstanceName": "launch-advisor-2021****",
"InstanceStatus": "normal",
"IpAddressConfig": [
{
"InstanceIp": "192.0.XX.XX",
"IsBgppack": true,
"IpVersion": "v4",
"IpStatus": "normal",
"RegionId": "cn-hangzhou-dg-a01",
"ElasticThreshold": 12310,
"BlackholeThreshold": 5200,
"DefenseBpsThreshold": 300,
"DefensePpsThreshold": 70000
}
]
}
]
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation | ||
---|---|---|---|---|
2023-07-05 | The response structure of the API has changed | see changesets | ||
|