Configures the status and protection level of an Anti-DDoS Global Mitigation Policy.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Domain |
string |
Yes |
The domain name of the website. Note
A forwarding rule must be configured for the domain name. Call DescribeDomains to query all domain names. |
example.aliyundoc.com |
| Config |
string |
Yes |
The JSON string contains the configurations for the global mitigation policy:
The JSON string also contains the configuration for the blacklist/whitelist feature of a custom mitigation policy:
|
{"global_rule_mode":"hard"} |
| Cluster |
string |
No |
This parameter is deprecated. |
default |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response object. |
||
| RequestId |
string |
The ID of the request. A unique ID is returned for each request. Use this ID to troubleshoot issues. |
9728769F-9466-534E-BE12-CAB29A675828 |
Examples
Success response
JSON format
{
"RequestId": "9728769F-9466-534E-BE12-CAB29A675828"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.