All Products
Search
Document Center

Virtual Private Cloud:MoveResourceGroup

Last Updated:Aug 05, 2024

Moves a Virtual Private Cloud (VPC) peering connection from one resource group to another.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
ResourceIdstringYes

The ID of the VPC peering connection.

pcc-gu32s92f9ytsk9****
ResourceTypestringYes

The resource type. Set the value to PeerConnection, which specifies a VPC peering connection.

PeerConnection
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-acfm3peow3k****
RegionIdstringYes

The region ID of the resource.

You can call the DescribeRegions operation to query the most recent region list.

cn-hangzhou

Response parameters

ParameterTypeDescriptionExample
object

The request ID.

RequestIdstring

The request ID.

611CB80C-B6A9-43DB-9E38-0B0AC3D9B58F
Successboolean

Indicates whether the operation is successful. Valid values:

  • true
  • false
true

Examples

Sample success responses

JSONformat

{
  "RequestId": "611CB80C-B6A9-43DB-9E38-0B0AC3D9B58F",
  "Success": true
}

Error codes

HTTP status codeError codeError messageDescription
400OperationFailed.NotExist.ResourceGroupThe operation failed because the resource group not exist.The operation failed because the resource group does not exist.
400ResourceNotFound.VpcPeerThe specified resource of VpcPeer is not found.The VPC peering connection does not exist.

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

Change history

Change timeSummary of changesOperation
2024-01-23API Description Update. The Error code has changedView Change Details
2023-09-06The Error code has changedView Change Details