Queries the details of the DDoS mitigation thresholds or traffic scrubbing thresholds for specified assets. 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 DescribeIpDdosThreshold operation to query the details of the DDoS mitigation threshold or traffic scrubbing threshold for a specific asset. The details include the current traffic scrubbing threshold, maximum scrubbing threshold, current DDoS mitigation threshold, and maximum DDoS mitigation threshold.
Limits
You can call this operation up to 10 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 |
DdosType | string | Yes | The type of the threshold. Valid values:
| defense |
InstanceType | string | Yes | The type of the asset. Valid values:
| ecs |
InstanceId | string | Yes | The ID of the asset. Note
You can call the DescribeInstanceIpAddress operation to query the IDs of ECS instances, SLB instances, and EIPs within the current Alibaba Cloud account.
| i-bp1i88rqjza51s**** |
InternetIp | string | Yes | The IP address of the asset. | 192.0.XX.XX |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "025F1688-680B-551A-9A8E-1A0D796315CF",
"Threshold": {
"DdosType": "defense",
"IsAuto": false,
"MaxBps": 7500,
"ElasticBps": 12310,
"InstanceId": "i-bp1i88rqjza51s****",
"Bps": 7500,
"Pps": 5000000,
"MaxPps": 5000000,
"InternetIp": "192.0.XX.XX"
}
}
Error codes
For a list of error codes, visit the Service error codes.