Getting information about a routing instance
Written by
Updated at July 3, 2025
Note
You need the cloud-router.viewer role for this operation.
CLI
-
See the description of the CLI command to get routing instance information:
yc cloudrouter routing-instance get --help
-
Get a list of
Routing Instance
objects (RIs) for the specified folder:yc cloudrouter routing-instance list --folder-id b1gqf2hjizv2jw******
Result:
+----------------------+--------------------+--------+-----------------------+ | ID | NAME | STATUS | PRIVATE CONNECTION ID | +----------------------+--------------------+--------+-----------------------+ | cf3jqdc4gjpxig****** | routing-instance | ACTIVE | euuiog88zphgsq******, | | | | | euucr7p47329kq****** | +----------------------+--------------------+--------+-----------------------+
-
Get information about the RI by specifying its ID you obtained in the previous step:
# yc cloudrouter routing-instance get <RI_ID> yc cloudrouter routing-instance get cf3jqdc4gjpxig******
Result:
Where:
id
: ID of the routing instance.name
: RI name.description
: RI description.folder_id
: ID of the cloud folder the RI was created in.region_id
: ID of the region the RI was created in.vpc_info
: Information about virtual networks and their IP prefixes with the prefixes grouped by availability zone. A routing instance may have one or more connected virtual networks.cic_private_connection_info
: Information about private connections to this RI.status
: RI state. It may take the following values:ACTIVE
: RI is active.CREATING
: RI is being created.UPDATING
: RI is being updated.DELETING
: RI is being deleted.