Skip to main content
GET
Get VPC peering details

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

project_id
string
required

ID of the project

Pattern: ^pj[0-9a-hj-km-np-tv-z]{24}$
Example:

"pjkkmx0f2vke4h36nk9cm8v8q0"

location
string
required

The Ubicloud location/region

Example:

"eu-central-h1"

private_subnet_reference
string
required

Private subnet ID or name Resource ID or name

Pattern: ^[a-z0-9](?:[a-z0-9\-]{0,61}[a-z0-9])?$
vpc_peering_id
string
required

ID of the VPC peering

Pattern: ^px[0-9a-hj-km-np-tv-z]{24}$
Example:

"px3dngttwvje2kmr2sn8x12x4r"

Response

A VPC peering

created_at
string<date-time>
required

Time the VPC peering was created

id
string
required

ID of the VPC peering

Pattern: ^px[0-9a-hj-km-np-tv-z]{24}$
Example:

"px3dngttwvje2kmr2sn8x12x4r"

local_cidr
string
required

IPv4 CIDR of the private subnet

location
string
required

Location of the private subnet

peer_account_id
string
required

Account that owns the peer VPC: the AWS account ID, or the GCP project ID

peer_cidrs
string[]
required

CIDR blocks of the peer VPC that are routed over the peering; for GCP, the subnet ranges imported from the peer network

peer_vpc_id
string
required

ID of the peer VPC: for AWS the VPC ID, for GCP the network path projects/PROJECT/global/networks/NETWORK

private_subnet_id
string
required

ID of the private subnet

state
string
required

State of the VPC peering: creating, waiting_for_peer, configuring (AWS only), active, failed or deleting

state_message
string | null
required

Failure reason, a notice while the peering request is delayed, or warnings about the VPC peering

aws
object
gcp
object