Modifies the protection status of Web Application Firewall (WAF).
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-waf:ModifyPauseProtectionStatus |
update |
*All Resource
|
|
None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The ID of the WAF instance. Note
You can call the DescribeInstance operation to query the ID of the WAF instance. |
waf-cn-tl32ast**** |
| PauseStatus |
integer |
Yes |
Specifies whether to pause WAF protection.
|
0 |
| ResourceManagerResourceGroupId |
string |
No |
The ID of the Alibaba Cloud resource group. |
rg-acfm***q |
| RegionId |
string |
No |
The region where the WAF instance is deployed. Valid values:
|
cn-hangzhou |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
D7861F61-*****-******-D5EB0 |
Examples
Success response
JSON format
{
"RequestId": "D7861F61-*****-******-D5EB0"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.