Creates a protected object group.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-waf:CreateDefenseResourceGroup |
create |
*All Resource
|
|
None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The ID of the WAF instance. Note
Call the DescribeInstance operation to view the ID of the WAF instance. |
waf_cdnsdf3**** |
| GroupName |
string |
Yes |
The name of the protected object group. The name must be 1 to 255 characters long and can contain Chinese characters, letters, digits, underscores (_), periods (.), and hyphens (-). |
group221 |
| AddList |
string |
No |
The protected objects to add to the protected object group. You can add multiple protected objects. Separate them with commas (,). |
test1.aliyundoc.com,test2.aliyundoc.com |
| Description |
string |
No |
The description of the protected object group. The description can be up to 512 characters long. |
test_domain |
| 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 response. |
||
| RequestId |
string |
The request ID. |
5D69B341-4F97-58E7-9E16-1B17FE7A9E98 |
Examples
Success response
JSON format
{
"RequestId": "5D69B341-4F97-58E7-9E16-1B17FE7A9E98"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.