Yandex Cloud
Search
Discuss with expertTry it for free
  • Customer Stories
  • Documentation
  • Blog
  • All Services
  • System Status
  • Marketplace
    • Featured
    • Infrastructure & Network
    • Data Platform
    • AI for business
    • Security
    • DevOps tools
    • Serverless
    • Monitoring & Resources
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Center for Technologies and Society
    • Yandex Cloud Partner program
    • Price calculator
    • Pricing plans
  • Customer Stories
  • Documentation
  • Blog
© 2026 Direct Cursus Technology L.L.C.
Yandex Cloud Interconnect
    • Overview
    • Operation overview
    • Terminology
    • Points of presence
    • Transceivers
    • Trunk
    • Private connection
    • Public connection
    • CIC partners
    • Monitoring
    • Data size and connection capacity
    • Quotas and limits
  • Pricing policy
  • Access management
    • API authentication
      • Overview
        • Overview
        • Get
        • BatchGet
        • List
        • Update
        • Delete
        • ListPrivateConnections
        • ListPublicConnections
        • Move
        • ListOperations
  • Release notes

In this article:

  • gRPC request
  • BatchGetTrunkConnectionsRequest
  • BatchGetTrunkConnectionsResponse
  • TrunkConnection
  • SinglePortDirectJoint
  • LagDirectJoint
  • LagAllocationSettings
  • LagInfo
  • PartnerJointInfo
  1. API reference
  2. gRPC
  3. TrunkConnection
  4. BatchGet

Cloud Interconnect API, gRPC: TrunkConnectionService.BatchGet

Written by
Yandex Cloud
Updated at May 29, 2026
  • gRPC request
  • BatchGetTrunkConnectionsRequest
  • BatchGetTrunkConnectionsResponse
  • TrunkConnection
  • SinglePortDirectJoint
  • LagDirectJoint
  • LagAllocationSettings
  • LagInfo
  • PartnerJointInfo

gRPC requestgRPC request

rpc BatchGet (BatchGetTrunkConnectionsRequest) returns (BatchGetTrunkConnectionsResponse)

BatchGetTrunkConnectionsRequestBatchGetTrunkConnectionsRequest

{
  "trunk_connection_ids": [
    "string"
  ]
}

Field

Description

trunk_connection_ids[]

string

IDs of TrunkConnection resources to return.
To get the trunkConnection ID use a TrunkConnectionService.List request.

The maximum string length in characters for each value is 1000.

BatchGetTrunkConnectionsResponseBatchGetTrunkConnectionsResponse

{
  "trunk_connections": [
    {
      "id": "string",
      "name": "string",
      "description": "string",
      "folder_id": "string",
      "created_at": "google.protobuf.Timestamp",
      // 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": {
            "port_names": [
              "string"
            ]
          }
        },
        "access_device_name": "string"
      },
      "partner_joint_info": {
        "partner_id": "google.protobuf.StringValue",
        "service_key": "string"
      },
      // end of the list of possible fields
      "point_of_presence_id": "google.protobuf.StringValue",
      "capacity": "Capacity",
      "labels": "map<string, string>",
      "status": "Status",
      "deletion_protection": "bool"
    }
  ]
}

Field

Description

trunk_connections[]

TrunkConnection

List of TrunkConnection resources.

TrunkConnectionTrunkConnection

A TrunkConnection resource.

Field

Description

id

string

ID of the trunkConnection.

name

string

Name of the trunkConnection.
The name must be unique within the folder.
Value must match the regular expression ``\

a-zA-Z?``.

description

string

Optional description of the trunkConnection. 0-256 characters long.

folder_id

string

ID of the folder that the trunkConnection belongs to.

created_at

google.protobuf.Timestamp

Creation timestamp in RFC3339 text format.

single_port_direct_joint

SinglePortDirectJoint

Includes only one of the fields single_port_direct_joint, lag_direct_joint, partner_joint_info.

Special trunkConnection config

lag_direct_joint

LagDirectJoint

Includes only one of the fields single_port_direct_joint, lag_direct_joint, partner_joint_info.

Special trunkConnection config

partner_joint_info

PartnerJointInfo

Includes only one of the fields single_port_direct_joint, lag_direct_joint, partner_joint_info.

Special trunkConnection config

point_of_presence_id

google.protobuf.StringValue

ID of pointOfPresence that the trunkConnection is deployed on.

capacity

enum Capacity

Capacity of the trunkConnection

  • CAPACITY_50_MBPS
  • CAPACITY_100_MBPS
  • CAPACITY_200_MBPS
  • CAPACITY_300_MBPS
  • CAPACITY_400_MBPS
  • CAPACITY_500_MBPS
  • CAPACITY_1_GBPS
  • CAPACITY_2_GBPS
  • CAPACITY_3_GBPS
  • CAPACITY_4_GBPS
  • CAPACITY_5_GBPS
  • CAPACITY_10_GBPS
  • CAPACITY_20_GBPS
  • CAPACITY_30_GBPS
  • CAPACITY_40_GBPS
  • CAPACITY_50_GBPS
  • CAPACITY_100_GBPS
  • CAPACITY_200_GBPS

labels

object (map<string, string>)

Resource labels, key:value pairs.
No more than 64 per resource.
The maximum string length in characters for each value is 63.
Each value must match the regular expression [-_0-9a-z]*.
The string length in characters for each key must be 1-63.
Each key must match the regular expression [a-z][-_0-9a-z]*.

status

enum Status

Status of the trunkConnection.

  • CREATING
  • UPDATING
  • DELETING
  • ACTIVE

deletion_protection

bool

Deletion protection flag.

SinglePortDirectJointSinglePortDirectJoint

Config of trunkConnection that is deployed on single port.

Field

Description

transceiver_type

enum TransceiverType

Type of transceiver that the trunkConnection is deployed on.

  • TRANSCEIVER_TYPE_1000BASE_LX
  • TRANSCEIVER_TYPE_10GBASE_LR
  • TRANSCEIVER_TYPE_10GBASE_ER
  • TRANSCEIVER_TYPE_100GBASE_LR4
  • TRANSCEIVER_TYPE_100GBASE_ER4

port_name

google.protobuf.StringValue

Name of port that the trunkConnection is deployed on.

access_device_name

string

Device name which is set in LLDP message.

LagDirectJointLagDirectJoint

Config of trunkConnection that is deployed on lag.

Field

Description

transceiver_type

enum TransceiverType

Type of transceiver that the trunkConnection is deployed on.

  • TRANSCEIVER_TYPE_1000BASE_LX
  • TRANSCEIVER_TYPE_10GBASE_LR
  • TRANSCEIVER_TYPE_10GBASE_ER
  • TRANSCEIVER_TYPE_100GBASE_LR4
  • TRANSCEIVER_TYPE_100GBASE_ER4

lag_allocation_settings

LagAllocationSettings

LAG allocation settings that the trunkConnection is deployed on.

access_device_name

string

Device name which is set in LLDP message.

LagAllocationSettingsLagAllocationSettings

Structure that describes LAG allocation settings

Field

Description

lag_info

LagInfo

LagInfo

LagInfoLagInfo

Field

Description

port_names[]

string

List of port names that the LAG is deployed on.

PartnerJointInfoPartnerJointInfo

Config of trunkConnection that is deployed on partner joint.

Field

Description

partner_id

google.protobuf.StringValue

ID of partner that the trunkConnection is deployed on.

service_key

string

Reserved for future using;

Was the article helpful?

Previous
Get
Next
List
© 2026 Direct Cursus Technology L.L.C.