All Products
Search
Document Center

Anti-DDoS:DescribeExcpetionCount

Last Updated:Jul 16, 2024

Queries the number of assets that are in an abnormal state and the number of Anti-DDoS Origin instances that are about to expire. 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

Usage notes

You can call the DescribeExcpetionCount operation to query the number of assets that are in an abnormal state and the number of Anti-DDoS Origin instances that are about to expire in a specific region. For example, if blackhole filtering is triggered for an IP address, the IP address is in an abnormal state. An instance whose remaining validity period is less than seven days is considered as an instance that is about to expire.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
ResourceGroupIdstringNo

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 instance belongs to the default resource group.

rg-acfm2pz25js****
RegionIdstringNo

The ID of the region where the Anti-DDoS Origin instance resides.

Note You can call the DescribeRegions operation to query the most recent region list.
cn-hangzhou

All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see Common parameters.

For more information about sample requests, see the "Examples" section of this topic.

Response parameters

ParameterTypeDescriptionExample
object
ExceptionIpCountinteger

The number of assets that are in an abnormal state.

0
ExpireTimeCountinteger

The number of Anti-DDoS Origin instances that are about to expire.

1
RequestIdstring

The ID of the request.

4B45279A-B1BE-5EEE-87CA-58AF4183EA58

Examples

Sample success responses

JSONformat

{
  "ExceptionIpCount": 0,
  "ExpireTimeCount": 1,
  "RequestId": "4B45279A-B1BE-5EEE-87CA-58AF4183EA58"
}

Error codes

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
No change history