Modifies a defense template.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-waf:ModifyDefenseTemplate |
update |
*All Resource
|
|
None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The ID of the WAF instance. Note
Call DescribeInstance to query the ID of the current WAF instance. |
waf_cdnsdf3**** |
| TemplateName |
string |
Yes |
The name of the protection template. The name must be 1 to 255 characters long and can contain Chinese characters, letters, digits, underscores (_), periods (.), and hyphens (-). Note
Template names must be unique for the same protection scenario (DefenseScene). |
test |
| TemplateId |
integer |
Yes |
The ID of the protection template to modify. |
7392 |
| Description |
string |
No |
The description of the protection template. |
test |
| RegionId |
string |
No |
The region where the WAF instance resides. Valid values:
|
cn-hangzhou |
| ResourceManagerResourceGroupId |
string |
No |
The ID of the Alibaba Cloud resource group. |
rg-acfm***q |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The request result. |
||
| RequestId |
string |
The request ID. |
1A68C85D-7467-5BB1-9A7E-2E8A5D96D88A |
Examples
Success response
JSON format
{
"RequestId": "1A68C85D-7467-5BB1-9A7E-2E8A5D96D88A"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.