Cloud Interconnect API, REST: TrunkConnection.List
Retrieves the list of TrunkConnection resources in the specified folder.
HTTP request
GET https://cic.api.yandexcloud.kz/cic/v1/trunkConnections
Query parameters
|
Field |
Description |
|
folderId |
string Required field. ID of the folder to list TrunkConnection resources. |
|
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
{
"trunkConnections": [
{
"id": "string",
"name": "string",
"description": "string",
"folderId": "string",
"regionId": "string",
"createdAt": "string",
// Includes only one of the fields `singlePortDirectJoint`, `lagDirectJoint`, `partnerJointInfo`
"singlePortDirectJoint": {
"transceiverType": "string",
"portName": "string",
"accessDeviceName": "string"
},
"lagDirectJoint": {
"transceiverType": "string",
"lagAllocationSettings": {
"lagInfo": {
"lagId": "string",
"portNames": [
"string"
]
}
},
"accessDeviceName": "string"
},
"partnerJointInfo": {
"serviceKey": "string",
"partnerId": "string"
},
// end of the list of possible fields
"pointOfPresenceId": "string",
"capacity": "string",
"labels": "object",
"status": "string",
"deletionProtection": "boolean"
}
],
"nextPageToken": "string"
}
|
Field |
Description |
|
trunkConnections[] |
List of TrunkConnection resources. |
|
nextPageToken |
string This token allows you to get the next page of results for list requests. If the number of results |
TrunkConnection
A TrunkConnection resource.
|
Field |
Description |
|
id |
string ID of the trunkConnection. |
|
name |
string Name of the trunkConnection. |
|
description |
string Optional description of the trunkConnection. 0-256 characters long. |
|
folderId |
string ID of the folder that the trunkConnection belongs to. |
|
regionId |
string ID of the region that the trunkConnection belongs to. |
|
createdAt |
string (date-time) Creation timestamp in RFC3339 String in RFC3339 To work with values in this field, use the APIs described in the |
|
singlePortDirectJoint |
Includes only one of the fields Special trunkConnection config |
|
lagDirectJoint |
Includes only one of the fields Special trunkConnection config |
|
partnerJointInfo |
Includes only one of the fields Special trunkConnection config |
|
pointOfPresenceId |
string ID of pointOfPresence that the trunkConnection is deployed on. |
|
capacity |
enum (Capacity) Capacity of the trunkConnection
|
|
labels |
object (map<string, string>) Resource labels, |
|
status |
enum (Status) Status of the trunkConnection.
|
|
deletionProtection |
boolean Optional deletion protection flag. |
SinglePortDirectJoint
Config of trunkConnection that is deployed on single port.
|
Field |
Description |
|
transceiverType |
enum (TransceiverType) Type of transceiver that the trunkConnection is deployed on.
|
|
portName |
string Name of port that the trunkConnection is deployed on. |
|
accessDeviceName |
string Device name which is set in LLDP message. |
LagDirectJoint
Config of trunkConnection that is deployed on lag.
|
Field |
Description |
|
transceiverType |
enum (TransceiverType) Type of transceiver that the trunkConnection is deployed on.
|
|
lagAllocationSettings |
LAG allocation settings that the trunkConnection is deployed on. |
|
accessDeviceName |
string Device name which is set in LLDP message. |
LagAllocationSettings
Structure that describes LAG allocation settings
|
Field |
Description |
|
lagInfo |
LagInfo |
LagInfo
|
Field |
Description |
|
lagId |
string (int64) ID of LAG. |
|
portNames[] |
string List of port names that the LAG is deployed on. |
PartnerJointInfo
Config of trunkConnection that is deployed on partner joint.
|
Field |
Description |
|
serviceKey |
string Reserved for future using; |
|
partnerId |
string ID of partner that the trunkConnection is deployed on. |