API Overview

The following table describes the APIs provided by Anti-DDoS.

Table 1 APIs

API

Description

Querying Optional Anti-DDoS Defense Policies

This API allows you to query optional Anti-DDoS defense policies. Based on your service, you can select a policy for Anti-DDoS traffic cleaning.

Enabling Anti-DDoS

This asynchronous API allows you to enable the Anti-DDoS traffic cleaning defense.

Disabling Anti-DDoS

This asynchronous API allows you to disable the Anti-DDoS traffic cleaning defense.

Querying Configured Anti-DDoS Defense Policies

This API enables you to query configured Anti-DDoS defense policies. You can query the policy of a specified EIP.

Updating Anti-DDoS Defense Policies

This API enables you to update the Anti-DDoS defense policy of a specified EIP.

Querying Anti-DDoS Tasks

This API enables you to query the execution status of a specified Anti-DDoS configuration task.

Querying the List of Defense Statuses of EIPs

This API enables you to query the defense statuses of all EIPs, regardless whether an EIP has been bound to an Elastic Cloud Server (ECS) or not.

Querying the Defense Status of a Specified EIP

This API allows you to query the defense status of a specified EIP.

Querying the Traffic of a Specified EIP

This API allows you to query the traffic of a specified EIP in the last 24 hours. Traffic is detected in five-minute intervals.

Querying Events of a Specified EIP

This API allows you to query events of a specified EIP in the last 24 hours. Events include cleaning and black hole events, and the query delay is within five minutes.

Querying Weekly Defense Statistics

This API allows you to query weekly defense statistics about all your EIPs, including the number of intercepted DDoS attacks, number of attacks, and ranking by the number of attacks.

Querying Alarm Configuration

This API allows you to query alarm configuration, such as whether a certain type of alarms will be received, and whether alarms are received through SMS messages or emails.