Modifies the resource group to which a protected object belongs.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-waf:ChangeResourceGroup |
update |
*DefenseResource
|
None |
|
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ResourceId |
string |
Yes |
The ID of the WAF resource to operate on. |
demo.aliyun.com-waf |
| NewResourceGroupId |
string |
Yes |
The ID of the new resource group. You can view available resource groups in the resource group console. |
rg-aek2mcq*** |
| ResourceType |
string |
Yes |
The resource type. Fixed value: defenseresource. |
defenseresource |
| RegionId |
string |
No |
The region where the WAF instance resides. Valid values:
|
cn-hangzhou |
| ResourceManagerResourceGroupId |
string |
No |
The Alibaba Cloud resource group ID. |
rg-acfm***q |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The request ID. |
0A916D48-D206-5654-8D37-*** |
Examples
Success response
JSON format
{
"RequestId": "0A916D48-D206-5654-8D37-***"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.