Update router
bycloud networking routers update --router_id <router_id> [flags]Update a router
Options
--router_id
stringrequiredRouter ID
--output
(-o)
stringoptionalOutput format: text, json, or yaml
Values: "text", "json", "yaml"
Default: "text"
Body Options
--description
stringoptional--external_gateway
booleanoptionalEnable or disable connection to the public network
--name
stringoptional--routes
arrayoptionalStatic routes. Set to empty array to clear all routes, omit to keep unchanged.
--tags
arrayoptionalCommand
bycloud networking routers update \--router_id "abc-123"
Output
ID 550e8400-e29b-41d4-a716-446655440000CRN crn:spo1:network:router:550e8400-e29b-41d4-a716-446655440000NAME main-routerDESCRIPTION stringSTATUS ACTIVEEXTERNAL_GATEWAY_INFOENABLE_SNAT trueEXTERNAL_FIXED_IPS[0]IP_ADDRESS string[1]IP_ADDRESS stringROUTES[0]DESTINATION 10.0.0.0/8NEXTHOP 192.168.1.1[1]DESTINATION 10.0.0.0/8NEXTHOP 192.168.1.1TAGS web, frontendCREATED_AT 2024-01-15T10:30:00ZUPDATED_AT 2024-01-15T10:30:00Z