Cloud Interconnect API, REST: PublicConnection.List
Retrieves the list of PublicConnection resources in the specified folder.
HTTP request
GET https://cic-api.api.cloud.yandex.net/cic/v1/publicConnections
Query parameters
Field |
Description |
folderId |
string Required field. ID of the folder to list publicConnections in. |
pageSize |
string (int64) The maximum number of results per page to return. If the number of available |
pageToken |
string Page token. To get the next page of results, set |
filter |
string A filter expression that filters resources listed in the response.
|
Response
HTTP Code: 200 - OK
{
"publicConnections": [
{
"id": "string",
"name": "string",
"description": "string",
"folderId": "string",
"regionId": "string",
"trunkConnectionId": "string",
"vlanId": "string",
"ipv4Peering": {
"peeringSubnet": "string",
"peerIp": "string",
"cloudIp": "string",
"peerBgpAsn": "string",
"cloudBgpAsn": "string",
"peerBgpMd5Key": "string"
},
"ipv4AllowedServiceTypes": [
"string"
],
"ipv4PeerAnnouncedPrefixes": [
"string"
],
"labels": "object"
}
],
"nextPageToken": "string"
}
Field |
Description |
publicConnections[] |
List of PublicConnection resources. |
nextPageToken |
string This token allows you to get the next page of results for list requests. If the number of results |
PublicConnection
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 |
string (int64) 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 |
object (map<string, string>) Resource labels, |
Peering
Field |
Description |
peeringSubnet |
string PeeringSubnet. |
peerIp |
string PeerIp. |
cloudIp |
string CloudIp. |
peerBgpAsn |
string (int64) PeerBgpAsn. |
cloudBgpAsn |
string (int64) CloudBgpAsn. |
peerBgpMd5Key |
string PeerBgpMd5Key. |