Modifies the resource group to which an Express Connect router (ECR) belongs.
Debugging
Authorization information
The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action
policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:
- Operation: the value that you can use in the Action element to specify the operation on a resource.
- Access level: the access level of each operation. The levels are read, write, and list.
- Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
- For mandatory resource types, indicate with a prefix of * .
- If the permissions cannot be granted at the resource level,
All Resources
is used in the Resource type column of the operation.
- Condition Key: the condition key that is defined by the cloud service.
- Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
Operation | Access level | Resource type | Condition key | Associated operation |
---|---|---|---|---|
expressconnectrouter:MoveResourceGroup | none | *ExpressConnectRouter acs:expressconnectrouter::{#accountId}:expressconnectrouter/{#EcrId} |
| none |
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
NewResourceGroupId | string | Yes | The ID of the new resource group. For more information about resource groups, see the "Resource Group" section of the What is Resource Management? topic. | rg-acfmvt3xpr5**** |
ResourceType | string | Yes | The resource type. Set the value to EXPRESSCONNECTROUTER. | EXPRESSCONNECTROUTER |
ResourceId | string | Yes | The ECR ID. | ecr-897j0jooxyr1aq**** |
DryRun | boolean | No | Specifies whether to perform only a dry run, without performing the actual request. Valid values:
| false |
ClientToken | string | No | The client token that is used to ensure the idempotence of the request. You can use the client to generate the value, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length. | 02fb3da4-130e-11e9-8e44-00**** |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "6FABF516-FED3-5697-BDA2-B18C5D9A****",
"Success": true,
"Code": "200",
"Message": "OK"
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
400 | Conflict.Lock | There are other unfinished operations. | You currently have other unfinished operations, please try again later |
400 | IncorrectStatus.Ecr | Ecr Status does not allow current operation. | The status of the express connect gateway instance does not allow the current operation. Currently, other operations are being performed or the express connect gateway instance is being deleted. Please try again later. |
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|---|---|
2024-06-28 | API Description Update. The Error code has changed | View Change Details |