Cloud Interconnect API, gRPC: TrunkConnectionService.Get
Returns the specified TrunkConnection resource.
To get the list of available TrunkConnection resources, make a List request.
gRPC request
rpc Get (GetTrunkConnectionRequest) returns (TrunkConnection)
GetTrunkConnectionRequest
{
"trunkConnectionId": "string"
}
Field |
Description |
trunkConnectionId |
string Required field. ID of the TrunkConnection resource to return. |
TrunkConnection
{
"id": "string",
"name": "string",
"description": "string",
"folderId": "string",
"regionId": "string",
// Includes only one of the fields `singlePortDirectJoint`, `lagDirectJoint`, `partnerJointInfo`
"singlePortDirectJoint": {
"transceiverType": "TransceiverType",
"portName": "google.protobuf.StringValue",
"accessDeviceName": "string"
},
"lagDirectJoint": {
"transceiverType": "TransceiverType",
"lagAllocationSettings": {
"lagInfo": {
"lagId": "google.protobuf.Int64Value",
"portNames": [
"string"
]
}
},
"accessDeviceName": "string"
},
"partnerJointInfo": {
"serviceKey": "string",
"partnerId": "google.protobuf.StringValue"
},
// end of the list of possible fields
"pointOfPresenceId": "google.protobuf.StringValue",
"capacity": "Capacity",
"labels": "string"
}
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. |
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 |
ID of pointOfPresence that the trunkConnection is deployed on. |
capacity |
enum Capacity Capacity of the trunkConnection
|
labels |
string Resource labels, |
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 |
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 |
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 |
ID of partner that the trunkConnection is deployed on. |