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. |
demo.aliyun.com-waf |
| NewResourceGroupId |
string |
Yes |
The ID of the destination resource group. |
rg-aek2mcq*** |
| ResourceType |
string |
Yes |
The type of the resource. Set the value to defenseresource. |
defenseresource |
| RegionId |
string |
No |
The region ID of the WAF instance. Valid values:
|
cn-hangzhou |
| ResourceManagerResourceGroupId |
string |
No |
The ID of the resource group to which the WAF instance belongs. |
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.