Yandex Cloud
Search
Contact UsGet started
  • Blog
  • Pricing
  • Documentation
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • ML & AI
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Customer Stories
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Education and Science
    • Yandex Cloud Partner program
  • Blog
  • Pricing
  • Documentation
© 2025 Direct Cursus Technology L.L.C.
Yandex Virtual Private Cloud
  • Getting started
  • DDoS Protection
  • Access management
  • Terraform reference
    • Authentication with the API
      • Overview
        • Overview
        • Get
        • List
        • Create
        • Update
        • Delete
        • ListOperations
        • Move
  • Audit Trails events
  • Release notes
  • FAQ

In this article:

  • gRPC request
  • GetRouteTableRequest
  • RouteTable
  • StaticRoute
  1. API reference
  2. gRPC
  3. RouteTable
  4. Get

Virtual Private Cloud API, gRPC: RouteTableService.Get

Written by
Yandex Cloud
Updated at December 17, 2024
  • gRPC request
  • GetRouteTableRequest
  • RouteTable
  • StaticRoute

Returns the specified RouteTable resource.

To get the list of available RouteTable resources, make a List request.

gRPC request

rpc Get (GetRouteTableRequest) returns (RouteTable)

GetRouteTableRequest

{
  "route_table_id": "string"
}

Field

Description

route_table_id

string

Required field. ID of the RouteTable resource to return.
To get the route table ID use a RouteTableService.List request.

RouteTable

{
  "id": "string",
  "folder_id": "string",
  "created_at": "google.protobuf.Timestamp",
  "name": "string",
  "description": "string",
  "labels": "map<string, string>",
  "network_id": "string",
  "static_routes": [
    {
      // Includes only one of the fields `destination_prefix`
      "destination_prefix": "string",
      // end of the list of possible fields
      // Includes only one of the fields `next_hop_address`, `gateway_id`
      "next_hop_address": "string",
      "gateway_id": "string",
      // end of the list of possible fields
      "labels": "map<string, string>"
    }
  ]
}

A RouteTable resource. For more information, see Static Routes.

Field

Description

id

string

ID of the route table.

folder_id

string

ID of the folder that the route table belongs to.

created_at

google.protobuf.Timestamp

Creation timestamp in RFC3339 text format.

name

string

Name of the route table.
The name must be unique within the folder.
Value must match the regular expression \|[a-zA-Z]([-_a-zA-Z0-9]{0,61}[a-zA-Z0-9])?.

description

string

Optional description of the route table. 0-256 characters long.

labels

object (map<string, string>)

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

network_id

string

ID of the network the route table belongs to.

static_routes[]

StaticRoute

List of static routes.

StaticRoute

A StaticRoute resource. For more information, see Static Routes.

Field

Description

destination_prefix

string

Destination subnet in CIDR notation

Includes only one of the fields destination_prefix.

next_hop_address

string

Next hop IP address

Includes only one of the fields next_hop_address, gateway_id.

gateway_id

string

Next hop gateway id

Includes only one of the fields next_hop_address, gateway_id.

labels

object (map<string, string>)

Resource labels as key:value pairs. Maximum of 64 per resource.

Was the article helpful?

Previous
Overview
Next
List
© 2025 Direct Cursus Technology L.L.C.