ChangeResourceGroup
Changes the resource group to which a file system instance belongs.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
nas:ChangeResourceGroup |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
No |
The region ID of the zone. You can call DescribeRegions to query the most recent region list. |
cn-hangzhou |
| ResourceId |
string |
Yes |
The resource ID. |
31a8e4**** |
| NewResourceGroupId |
string |
Yes |
The new resource group ID. You can view the resource group ID in the Resource Management console. |
rg-acfmwavnfdf**** |
| ResourceType |
string |
Yes |
The resource type. Valid values: filesystem (file system). Valid values:
|
filesystem |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The request ID. |
BC7C825C-5F65-4B56-BEF6-98C56C7C**** |
Examples
Success response
JSON format
{
"RequestId": "BC7C825C-5F65-4B56-BEF6-98C56C7C****"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 404 | EntityNotExist.ResourceGroup | The resource group does not exist. | The resource group does not exist. |
| 404 | EntityNotExist.ResourceId | The resource does not exist. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.