Yandex Cloud
Поиск
Связаться с экспертомПопробовать бесплатно
  • Кейсы
  • Документация
  • Блог
  • Все сервисы
    • Cloud Interconnect
    • Cloud Backup
    • Compute Cloud
    • Object Storage
    • Managed Service for Kubernetes®
    • Managed Service for PostgreSQL
    • Managed Service for ClickHouse®
    • Monium
    • Cloud CDN
    • Network Load Balancer
    • Virtual Private Cloud
    • Cloud DNS
    • Application Load Balancer
    • Yandex Cloud Router
    • Managed Service for MySQL®
    • Managed Service for Valkey™
    • Managed Service for Apache Spark™
    • Managed Service for OpenSearch
    • Managed Service for Apache Kafka®
    • Data Transfer
    • Yandex MPP Analytics Engine for PostgreSQL
    • Managed Service for YDB
    • SpeechKit
    • Yandex Identity Hub
    • Key Management Service
    • Certificate Manager
    • Yandex Lockbox
    • Audit Trails
    • Container Registry
    • Managed Service for Prometheus®
    • Message Queue
    • Identity and Access Management
    • Yandex Cloud Console
    • Resource Manager
    • Yandex Cloud Billing
    • Cloud Apps
    • Yandex AI Studio
    • Yandex BareMetal
    • Smart Web Security
    • Security Deck
    • Yandex Cloud Video
    • Stackland
    • Yandex StoreDoc
    • Yandex Managed Service for Apache Airflow®
    • Data Processing
    • Yandex MetaData Hub
    • Yandex WebSQL
    • DataLens
    • Yandex Search API
    • SpeechSense
    • DataSphere
    • Vision OCR
    • Translate
    • Cloud Registry
    • SmartCaptcha
    • Cloud Desktop
    • SourceCraft Code Assistant
    • Managed Service for GitLab
    • Cloud Functions
    • API Gateway
    • Yandex Cloud Postbox
    • Serverless Integrations
    • IoT Core
    • Serverless Containers
    • Cloud Notification Service
    • Yandex Query
  • Статус работы сервисов
  • Marketplace
    • Доступны в регионе
    • Инфраструктура и сеть
    • Платформа данных
    • Искусственный интеллект
    • Безопасность
    • Инструменты DevOps
    • Бессерверные вычисления
    • Управление ресурсами
  • Все решения
    • По отраслям
    • По типу задач
    • Экономика платформы
    • Безопасность
    • Техническая поддержка
    • Каталог партнёров
    • Обучение и сертификация
    • Облако для стартапов
    • Облако для крупного бизнеса
    • Центр технологий для общества
    • Партнёрская программа
    • Поддержка IT-бизнеса
    • Облако для фрилансеров
    • Обучение и сертификация
    • Блог
    • Документация
    • Мероприятия и вебинары
    • Контакты, чаты и сообщества
    • Идеи
    • Калькулятор цен
    • Тарифы
    • Акции и free tier
  • Кейсы
  • Документация
  • Блог
Создавайте контент и получайте гранты!Готовы написать своё руководство? Участвуйте в контент-программе и получайте гранты на работу с облачными сервисами!
Подробнее о программе
Проект Яндекса
© 2026 ТОО «Облачные Сервисы Казахстан»
Yandex Cloud Router
Скоро
    • Все сценарии использования
    • On-premises без резервирования и одна облачная сеть
    • On-premises без резервирования и несколько облачных сетей
    • On-premises с резервированием и одна облачная сеть
    • On-premises с резервированием и несколько облачных сетей
    • Два отдельных виртуальных маршрутизатора без резервирования on-premises
    • Равномерное распределение трафика из on-premises (Active-Active)
    • Приоритизация трафика из on-premises по направлению (Active-Standby)
    • Резервирование подключения on-premises через VPN-шлюз (PRC)
    • Приоритет статического маршрута VPC перед маршрутами из PRC
    • Равномерное распределение трафика для маршрута 0.0.0.0/0
    • Приоритизация трафика по направлению для маршрута 0.0.0.0/0
    • Связность для двух облачных сетей
    • Связность для двух облачных сетей и on-premises
  • Управление доступом
  • Правила тарификации
      • Overview
        • Overview
        • Get
        • GetByVpcNetworkId
        • GetByCicPrivateConnectionId
        • List
        • Create
        • Update
        • UpsertPrefixes
        • RemovePrefixes
        • AddPrivateConnection
        • RemovePrivateConnection
        • UpdateNetworks
        • Delete
        • Move
        • ListOperations
        • MovePrefix
        • UpdatePrefixMask
  • История изменений

В этой статье:

  • gRPC request
  • GetRoutingInstanceByVpcNetworkIdRequest
  • RoutingInstance
  • VpcInfo
  • VpcAzInfo
  • VpcManualInfo
  • CicPrivateConnectionInfo
  1. Справочник API
  2. gRPC (англ.)
  3. RoutingInstance
  4. GetByVpcNetworkId

Cloud Router API, gRPC: RoutingInstanceService.GetByVpcNetworkId

Статья создана
Yandex Cloud
Обновлена 18 июня 2026 г.
Открыть в Markdown
  • gRPC request
  • GetRoutingInstanceByVpcNetworkIdRequest
  • RoutingInstance
  • VpcInfo
  • VpcAzInfo
  • VpcManualInfo
  • CicPrivateConnectionInfo

Returns the RoutingInstance resource by vpcNetworkId
To get the list of available RoutingInstance resources, make a List request.

gRPC requestgRPC request

rpc GetByVpcNetworkId (GetRoutingInstanceByVpcNetworkIdRequest) returns (RoutingInstance)

GetRoutingInstanceByVpcNetworkIdRequestGetRoutingInstanceByVpcNetworkIdRequest

{
  "vpc_network_id": "string"
}

Field

Description

vpc_network_id

string

Required field. ID of the VpcNetwork resource to return by.
To get the routingInstance ID use a RoutingInstanceService.List request.

The maximum string length in characters is 50.

RoutingInstanceRoutingInstance

{
  "id": "string",
  "name": "string",
  "description": "string",
  "folder_id": "string",
  "region_id": "string",
  "vpc_info": [
    {
      "vpc_network_id": "string",
      "az_infos": [
        {
          "manual_info": {
            "az_id": "string",
            "prefixes": [
              "string"
            ]
          }
        }
      ]
    }
  ],
  "cic_private_connection_info": [
    {
      "cic_private_connection_id": "string"
    }
  ],
  "status": "Status",
  "deletion_protection": "bool",
  "created_at": "google.protobuf.Timestamp",
  "labels": "map<string, string>"
}

Field

Description

id

string

ID of the routingInstance.

name

string

Name of the routingInstance.
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

Description of the routingInstance. 0-256 characters long.

folder_id

string

ID of the folder that the routingInstance belongs to.

region_id

string

ID of the region that the routingInstance belongs to.

vpc_info[]

VpcInfo

List of the info about vpcNetworks which are attached to routingInstance.

cic_private_connection_info[]

CicPrivateConnectionInfo

List of the info about privateConnections which are attached to routingInstance.

status

enum Status

Status of the routingInstance.

  • CREATING
  • UPDATING
  • DELETING
  • ACTIVE

deletion_protection

bool

created_at

google.protobuf.Timestamp

Creation timestamp in RFC3339 text format.

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]*.

VpcInfoVpcInfo

Field

Description

vpc_network_id

string

Required field. ID of the vpcNetwork that is attached to the routingInstance.

The maximum string length in characters is 50.

az_infos[]

VpcAzInfo

List of the az-related info about vpcNetworks which are attached to routingInstance

The number of elements must be in the range 0-50.

VpcAzInfoVpcAzInfo

Field

Description

manual_info

VpcManualInfo

Required field. VpcInfo which is set by user

VpcManualInfoVpcManualInfo

Field

Description

az_id

string

Required field. ID of the AZ

The maximum string length in characters is 50.

prefixes[]

string

List of prefixes to announce

The number of elements must be in the range 0-10000.

CicPrivateConnectionInfoCicPrivateConnectionInfo

Field

Description

cic_private_connection_id

string

Required field. ID of the cicPrivateConnection that is attached to the routingInstance.

The maximum string length in characters is 50.

Была ли статья полезна?

Предыдущая
Get
Следующая
GetByCicPrivateConnectionId
Создавайте контент и получайте гранты!Готовы написать своё руководство? Участвуйте в контент-программе и получайте гранты на работу с облачными сервисами!
Подробнее о программе
Проект Яндекса
© 2026 ТОО «Облачные Сервисы Казахстан»