Moves a Virtual Private Cloud (VPC) peering connection from one resource group to another.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
ResourceId | string | Yes | The ID of the VPC peering connection. | pcc-gu32s92f9ytsk9**** |
ResourceType | string | Yes | The resource type. Set the value to PeerConnection, which specifies a VPC peering connection. | PeerConnection |
NewResourceGroupId | string | Yes | 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**** |
RegionId | string | Yes | The region ID of the resource. You can call the DescribeRegions operation to query the most recent region list. | cn-hangzhou |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "611CB80C-B6A9-43DB-9E38-0B0AC3D9B58F",
"Success": true
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
400 | OperationFailed.NotExist.ResourceGroup | The operation failed because the resource group not exist. | The operation failed because the resource group does not exist. |
400 | ResourceNotFound.VpcPeer | The 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 time | Summary of changes | Operation |
---|---|---|
2024-01-23 | API Description Update. The Error code has changed | View Change Details |
2023-09-06 | The Error code has changed | View Change Details |