ConfigL7GlobalRule
Configures an Anti-DDoS Global Mitigation Policy.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-ddoscoo:ConfigL7GlobalRule |
none |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Domain |
string |
Yes |
The domain name of the website service to configure. |
example.com |
| RuleAttr |
string |
Yes |
The action and switch settings for global template rules. The value is a string that represents a JSON struct array. The JSON struct contains the following fields:
|
[{\"RuleId\":\"global_01\",\"Action\":\"block\",\"Enabled\":0}] |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The request ID. Alibaba Cloud generates a unique ID for each request. You can use the ID to troubleshoot issues. |
CF33B4C3-196E-4015-AADD-5CAD00057B80 |
Examples
Success response
JSON format
{
"RequestId": "CF33B4C3-196E-4015-AADD-5CAD00057B80"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.