Cloud Interconnect API, gRPC: PrivateConnectionService.Get
Returns the specified PrivateConnection resource.
To get the list of available PrivateConnection resources, make a List request.
gRPC request
rpc Get (GetPrivateConnectionRequest) returns (PrivateConnection)
GetPrivateConnectionRequest
{
"private_connection_id": "string"
}
Field |
Description |
private_connection_id |
string Required field. ID of the PrivateConnection resource to return. |
PrivateConnection
{
"id": "string",
"name": "string",
"description": "string",
"folder_id": "string",
"region_id": "string",
"trunk_connection_id": "string",
"vlan_id": "google.protobuf.Int64Value",
"ipv4_peering": {
"peering_subnet": "string",
"peer_ip": "string",
"cloud_ip": "string",
"peer_bgp_asn": "int64",
"cloud_bgp_asn": "int64",
"peer_bgp_md5_key": "string"
},
"ipv4_static_routes": [
{
"prefix": "string",
"next_hop": [
"string"
]
}
],
"labels": "map<string, string>"
}
A PrivateConnection resource.
Field |
Description |
id |
string ID of the privateConnection. |
name |
string Name of the privateConnection. |
description |
string Optional description of the privateConnection. 0-256 characters long. |
folder_id |
string ID of the folder that the privateConnection belongs to. |
region_id |
string ID of the region that the privateConnection belongs to. |
trunk_connection_id |
string ID of the trunk_connection that the privateConnection belongs to. |
vlan_id |
VLAN_ID that the privateConnection uses in multiplexing. |
ipv4_peering |
IPv4 peering config of connection |
ipv4_static_routes[] |
IPv4 StaticRoute config of connection |
labels |
object (map<string, string>) Resource labels, |
Peering
Field |
Description |
peering_subnet |
string PeeringSubnet. |
peer_ip |
string PeerIp. |
cloud_ip |
string CloudIp. |
peer_bgp_asn |
int64 PeerBgpAsn. |
cloud_bgp_asn |
int64 CloudBgpAsn. |
peer_bgp_md5_key |
string PeerBgpMd5Key. |
StaticRoute
Field |
Description |
prefix |
string Prefix. |
next_hop[] |
string PeerIp. |