Deze pagina is nog niet beschikbaar in uw eigen taal. We werken er hard aan om meer taalversies toe te voegen. Bedankt voor uw steun.
- What's New
- Function Overview
- Service Overview
- Getting Started
- User Guide
- Best Practices
-
API Reference
- API Usage Guidelines
- Before You Start
- API Overview
- API Calling
-
API
-
Anti-DDoS Management
- Querying the List of Defense Statuses of EIPs
- Querying Optional Anti-DDoS Defense Policies
- Querying Weekly Defense Statistics
- Querying Configured Anti-DDoS Defense Policies
- Updating Anti-DDoS Defense Policies
- Querying the Traffic of a Specified EIP
- Querying Events of a Specified EIP
- Querying Configured Anti-DDoS Defense Policies
- Anti-DDoS Task Management
- Alarm configuration management
-
Anti-DDoS Management
- Examples
- Appendix
- Out-of-Date APIs
- SDK Reference
-
FAQs
-
General FAQs
- What Are Regions and AZs?
- What Is the Black Hole Policy of HUAWEI CLOUD?
- What Are a SYN Flood Attack and an ACK Flood Attack?
- What Is a CC Attack?
- What Is a Slow HTTP Attack?
- What Are a UDP Attack and a TCP Attack?
- What Are the Differences Between DDoS Attacks and Challenge Collapsar Attacks?
- Does Anti-DDoS Provide SDKs and APIs?
- CNAD Basic (Anti-DDoS) FAQs
-
General FAQs
- Videos
Show all
Example 2: Configuring the Default Protection Policy
Scenario
You can configure the default protection policy for newly purchased IP addresses on the Anti-DDoS console or by call the API.
- Query the default protection settings for the newly purchased IP addresses.
- Configure the default protection policy for newly purchased IP addresses.
Involved APIs
Procedure
- Query default protection settings for the newly purchased IP addresses.
- API information
URI format: GET /v1/{project_id}/antiddos/default-config
For details, see section "Querying the Default Protection Policy Configured for the Newly Purchased Public IP Addresses".
- Example request
GET: https://{endpoint}/v1/1858a4e1f99d4454bd6a539d5477f5de/antiddos/default/config
Obtain {endpoint} from .
Body:
{ }
- Example response
{ "app_type_id": 1, "cleaning_access_pos_id": 8, "enable_L7": false, "http_request_pos_id": 8, "traffic_pos_id": 8 }
- API information
- Configure default protection policy for newly purchased IP addresses.
- API information
URI format: POST /v1/{project_id}/antiddos/default-config
For details, see section "Configuring the Default Protection Policy for Newly Purchased Public IP Addresses".
- Example request
POST: https://{endpoint}/v1/1858a4e1f99d4454bd6a539d5477f5de/antiddos/default-config
Obtain {endpoint} from .
Body:
{ "app_type_id": 1, "cleaning_access_pos_id": 8, "enable_L7": false, "http_request_pos_id": 8, "traffic_pos_id": 8 }
- Example response
{ }
- API information
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.