Cloud Interconnect API, gRPC: PublicConnectionService.Get
Returns the specified PublicConnection resource.
To get the list of available PublicConnection resources, make a List request.
gRPC request
rpc Get (GetPublicConnectionRequest) returns (PublicConnection)
GetPublicConnectionRequest
{
"publicConnectionId": "string"
}
Field |
Description |
publicConnectionId |
string Required field. ID of the PublicConnection resource to return. |
PublicConnection
{
"id": "string",
"name": "string",
"description": "string",
"folderId": "string",
"regionId": "string",
"trunkConnectionId": "string",
"vlanId": "google.protobuf.Int64Value",
"ipv4Peering": {
"peeringSubnet": "string",
"peerIp": "string",
"cloudIp": "string",
"peerBgpAsn": "int64",
"cloudBgpAsn": "int64",
"peerBgpMd5Key": "string"
},
"ipv4AllowedServiceTypes": [
"CloudServiceType"
],
"ipv4PeerAnnouncedPrefixes": [
"string"
],
"labels": "string"
}
A PublicConnection resource.
Field |
Description |
id |
string ID of the publicConnection. |
name |
string Name of the publicConnection. |
description |
string Optional description of the publicConnection. 0-256 characters long. |
folderId |
string ID of the folder that the publicConnection belongs to. |
regionId |
string ID of the region that the publicConnection belongs to. |
trunkConnectionId |
string ID of the trunk_connection that the publicConnection belongs to. |
vlanId |
VLAN_ID that the privateConnection uses in multiplexing. |
ipv4Peering |
IPv4 peering config of connection |
ipv4AllowedServiceTypes[] |
enum CloudServiceType Cloud services that the publicConnection connects to.
|
ipv4PeerAnnouncedPrefixes[] |
string IPv4 Peer Announced Prefixes |
labels |
string Resource labels, |
Peering
Field |
Description |
peeringSubnet |
string PeeringSubnet. |
peerIp |
string PeerIp. |
cloudIp |
string CloudIp. |
peerBgpAsn |
int64 PeerBgpAsn. |
cloudBgpAsn |
int64 CloudBgpAsn. |
peerBgpMd5Key |
string PeerBgpMd5Key. |