Queries information about exceptions of an Anti-DDoS Origin Enterprise instance.

Note Anti-DDoS Origin API operations are available for only Anti-DDoS Origin Enterprise users.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description 
Action String Yes DescribeExcpetionCount

The operation that you want to perform. Set the value to DescribeExcpetionCount.

DdosRegionId String Yes cn-hangzhou

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

ResourceGroupId String No test

The ID of the resource group.

Response parameters

Parameter Type Example Description
ExceptionIpCount Integer  0

The number of IP addresses that have exceptions. These IP addresses include the IP addresses of Elastic Compute Service (ECS) and Server Load Balancer (SLB) instances that are protected.

ExpireTimeCount Integer   1

The number of instances that will expire within seven days.

RequestId String A3EEE55F-3B9F-4765-8C03-1A1A904F3451

The ID of the request.

Examples

Sample requests


http(s)://[Endpoint]/? Action=DescribeExcpetionCount
&DdosRegionId=cn-hangzhou
& <Common request parameters>

Sample success responses

XML format

<DescribeExcpetionCountResponse>
     <ExpireTimeCount>1</ExpireTimeCount>
     <RequestId>58609615-FCF9-41DF-8B25-0D5C8DAB92BA</RequestId>
     <ExceptionIpCount>0</ExceptionIpCount>
</DescribeExcpetionCountResponse>

JSON format

{
	"RequestId":"A3EEE55F-3B9F-4765-8C03-1A1A904F3451",
	"ExpireTimeCount":1,
	"ExceptionIpCount":0
}

Error codes

For a list of error codes, visit the API Error Center.