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
{
"trunk_connection_id": "string"
}
Field |
Description |
trunk_connection_id |
string Required field. ID of the TrunkConnection resource to return. |
TrunkConnection
{
"id": "string",
"name": "string",
"description": "string",
"folder_id": "string",
"region_id": "string",
// Includes only one of the fields `single_port_direct_joint`, `lag_direct_joint`, `partner_joint_info`
"single_port_direct_joint": {
"transceiver_type": "TransceiverType",
"port_name": "google.protobuf.StringValue",
"access_device_name": "string"
},
"lag_direct_joint": {
"transceiver_type": "TransceiverType",
"lag_allocation_settings": {
"lag_info": {
"lag_id": "google.protobuf.Int64Value",
"port_names": [
"string"
]
}
},
"access_device_name": "string"
},
"partner_joint_info": {
"service_key": "string",
"partner_id": "google.protobuf.StringValue"
},
// end of the list of possible fields
"point_of_presence_id": "google.protobuf.StringValue",
"capacity": "Capacity",
"labels": "map<string, 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. |
folder_id |
string ID of the folder that the trunkConnection belongs to. |
region_id |
string ID of the region that the trunkConnection belongs to. |
single_port_direct_joint |
Includes only one of the fields Special trunkConnection config |
lag_direct_joint |
Includes only one of the fields Special trunkConnection config |
partner_joint_info |
Includes only one of the fields Special trunkConnection config |
point_of_presence_id |
ID of pointOfPresence that the trunkConnection is deployed on. |
capacity |
enum Capacity Capacity of the trunkConnection
|
labels |
object (map<string, string>) Resource labels, |
SinglePortDirectJoint
Config of trunkConnection that is deployed on single port.
Field |
Description |
transceiver_type |
enum TransceiverType Type of transceiver that the trunkConnection is deployed on.
|
port_name |
Name of port that the trunkConnection is deployed on. |
access_device_name |
string Device name which is set in LLDP message. |
LagDirectJoint
Config of trunkConnection that is deployed on lag.
Field |
Description |
transceiver_type |
enum TransceiverType Type of transceiver that the trunkConnection is deployed on.
|
lag_allocation_settings |
LAG allocation settings that the trunkConnection is deployed on. |
access_device_name |
string Device name which is set in LLDP message. |
LagAllocationSettings
Structure that describes LAG allocation settings
Field |
Description |
lag_info |
LagInfo |
LagInfo
Field |
Description |
lag_id |
ID of LAG. |
port_names[] |
string List of port names that the LAG is deployed on. |
PartnerJointInfo
Config of trunkConnection that is deployed on partner joint.
Field |
Description |
service_key |
string Reserved for future using; |
partner_id |
ID of partner that the trunkConnection is deployed on. |