Changes 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 | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ResourceId |
string |
Yes |
The ID of the protected object that you want to manage. |
demo.aliyun.com-waf |
| NewResourceGroupId |
string |
Yes |
The ID of the new resource group. You can view the available resource groups in the Resource Management console. |
rg-aek2mcq*** |
| ResourceType |
string |
Yes |
The resource type. Set the value to defenseresource. |
defenseresource |
| RegionId |
string |
No |
The region in which the WAF instance is deployed. 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 |
Schema of Response |
||
| RequestId |
string |
The ID of the request. |
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.