Queries the details of a virtual private cloud (VPC) peering connection.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
InstanceId | string | Yes | The ID of the VPC peering connection. | pcc-lnk0m24khwvtkm**** |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "473469C7-AA6F-4DC5-B3DB-A3AC0DE3C83E",
"InstanceId": "pcc-lnk0m24khwvtkm****",
"GmtCreate": "2022-04-24T09:02:36Z",
"GmtModified": "2022-04-24T19:20:45Z",
"Name": "vpcpeer",
"Description": "test",
"OwnerId": 253460731706911260,
"AcceptingOwnerUid": 283117732402484000,
"RegionId": "cn-hangzhou",
"AcceptingRegionId": "cn-hangzhou",
"Bandwidth": 1024,
"Status": "Activated",
"BizStatus": "Normal",
"GmtExpired": "2022-05-01T09:02:36Z",
"ResourceGroupId": "rg-acfmz7hy5z267ni",
"Vpc": {
"VpcId": "vpc-bp1gsk7h12ew7oegk****",
"Ipv4Cidrs": [
"192.168.0.0/16"
],
"Ipv6Cidrs": [
"2408:XXXX:3c5:6e00::/56"
]
},
"AcceptingVpc": {
"VpcId": "vpc-bp1vzjkp2q1xgnind****",
"Ipv4Cidrs": [
"10.0.0.0/16"
],
"Ipv6Cidrs": [
"2408:XXXX:3b8:3a00::/56"
]
},
"Tags": [
{
"Key": "FinanceDept",
"Value": "FinanceJoshua"
}
]
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
400 | ResourceNotFound.InstanceId | The specified resource of %s is not found. | The specified instance is not found |
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 | see changesets | ||||||
| ||||||||
2023-05-30 | The Error code has changed. The response structure of the API has changed | see changesets | ||||||
|