All Products
Search
Document Center

Virtual Private Cloud:ChangeResourceGroup

Last Updated:Dec 06, 2023

Moves an Express Connect circuit to a new resource group.

Operation Description

You cannot repeatedly call the ChangeResourceGroup operation to modify the resource group of the same Express Connect circuit.

debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

debugging

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
NewResourceGroupIdstringYes

The ID of the new resource group.

Note You can use resource groups to manage resources within your Alibaba Cloud account by group. This helps you resolve issues such as resource grouping and permission management for your Alibaba Cloud account. For more information, see What is Resource Management?
rg-bp1drpcfz9srr393h****
ResourceTypestringYes

The type of the resource. Valid values:

  • PHYSICALCONNECTION: Express Connect circuit.
  • VIRTUALBORDERROUTER: virtual border router (VBR).
  • ROUTERINTERFACE: router interface.
PHYSICALCONNECTION
ResourceIdstringYes

The ID of the Express Connect circuit whose resource group you want to modify.

pc-bp16qjewdsunr41m1****
RegionIdstringYes

The ID of the region to which the new resource group belongs.

You can call the DescribeRegions operation to obtain the region ID.

cn-hangzhou

Response parameters

ParameterTypeDescriptionExample
object

The request ID.

RequestIdstring

The request ID.

54B48E3D-DF70-471B-AA93-08E683A1B45

Examples

Sample success responses

JSONformat

{
  "RequestId": "54B48E3D-DF70-471B-AA93-08E683A1B45"
}

Error codes

HTTP status codeError codeError messageDescription
400ResourceType.UnknownUnknown ResourceType.The resource type is invalid.

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
2023-09-11API Description Update,The error codes of the API operation change.see changesets
Change itemChange content
API DescriptionAPI Description Update
Error CodesThe error codes of the API operation change.
    delete Error Codes: 400
2023-07-25The error codes of the API operation change.see changesets
Change itemChange content
Error CodesThe error codes of the API operation change.
    Added Error Codes: 400
2023-07-20The internal configurations of the API operation change but you can still call the operation.see changesets
Change itemChange content
The internal configurations of the API operation change but you can still call the operation.