Moves an Express Connect circuit to a new resource group.
Usage notes
You cannot repeatedly call ChangeResourceGroup within a specific time period.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
Action | String | Yes | ChangeResourceGroup | The operation that you want to perform. Set the value to ChangeResourceGroup. |
NewResourceGroupId | String | Yes | rg-bp1drpcfz9srr393h**** | The ID of the new resource group. Note You can use resource groups to manage resources owned by your Alibaba Cloud account. Resource groups simplify the resource and permission management of your Alibaba Cloud account. For more information, see What is resource management? |
ResourceType | String | Yes | PHYSICALCONNECTION | The resource type. Valid values:
|
ResourceId | String | Yes | pc-bp16qjewdsunr41m1**** | The ID of the Express Connect circuit. |
RegionId | String | Yes | cn-hangzhou | The region ID of the resource group. You can call the DescribeRegions operation to query the most recent region list. |
Response parameters
Parameter | Type | Example | Description |
RequestId | String | 54B48E3D-DF70-471B-AA93-08E683A1B45 | The request ID. |
Examples
Sample requests
http(s)://[Endpoint]/?Action=ChangeResourceGroup
&NewResourceGroupId=rg-bp1drpcfz9srr393h****
&ResourceType=PHYSICALCONNECTION
&ResourceId=pc-bp16qjewdsunr41m1****
&RegionId=cn-hangzhou
&Common request parameters
Sample success responses
XML
format
HTTP/1.1 200 OK
Content-Type:application/xml
<ChangeResourceGroupResponse>
<RequestId>54B48E3D-DF70-471B-AA93-08E683A1B45</RequestId>
</ChangeResourceGroupResponse>
JSON
format
HTTP/1.1 200 OK
Content-Type:application/json
{
"RequestId" : "54B48E3D-DF70-471B-AA93-08E683A1B45"
}
Error codes
HttpCode | Error code | Error message | Description |
400 | ResourceType.Unknown | Unknown ResourceType. | The resource type is invalid. |
For a list of error codes, see Service error codes.