Cloud Interconnect API, gRPC: PrivateConnectionService.List
Retrieves the list of PrivateConnection resources in the specified folder.
gRPC request
rpc List (ListPrivateConnectionsRequest) returns (ListPrivateConnectionsResponse)
ListPrivateConnectionsRequest
{
"folder_id": "string",
"page_size": "int64",
"page_token": "string",
"filter": "string"
}
Field |
Description |
folder_id |
string Required field. ID of the folder to list privateConnections in. |
page_size |
int64 The maximum number of results per page to return. If the number of available |
page_token |
string Page token. To get the next page of results, set |
filter |
string A filter expression that filters resources listed in the response.
|
ListPrivateConnectionsResponse
{
"private_connections": [
{
"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>"
}
],
"next_page_token": "string"
}
Field |
Description |
private_connections[] |
List of PrivateConnection resources. |
next_page_token |
string This token allows you to get the next page of results for list requests. If the number of results |
PrivateConnection
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. |