Updating routing instance parameters
Written by
Updated at June 10, 2025
Warning
To request access to this function, contact support
Currently, you can update the following routing instance parameters:
new-name
: Private connection namedescription
: Private connection description
Note
When updating announcements of IP prefixes or adding (deleting) private connections in a routing instance, we recommend using separate commands, not the --vpc-net
and --cic-prc
options of the update command.
For example, to update the description
parameter value of a routing instance, follow the steps below.
Note
You need the cloud-router.editor role to run this operation.
CLI
-
See the description of the CLI command for updating a routing instance:
yc cloudrouter routing-instance update --help
-
Update the
description
parameter value for the routing instance:yc cloudrouter routing-instance update c3l87**********1dpin \ --description "My new RI description" \ --async
Expected result:
id: al4r9**********4613n description: routing instance update created_at: "2025-04-08T21:21:33.106772882Z" created_by: bfbud**********v7dfn modified_at: "2025-04-08T21:21:33.106772882Z" metadata: '@type': type.googleapis.com/yandex.cloud.cloudrouter.v1.UpdateRoutingInstanceMetadata routing_instance_id: c3l87**********1dpin
-
Check the updated parameter value after the operation is complete:
yc cloudrouter routing-instance get c3l87**********1dpin