gcloud alpha edge-cloud networking routers update

NAME
gcloud alpha edge-cloud networking routers update - update a Distributed Cloud Edge Network router
SYNOPSIS
gcloud alpha edge-cloud networking routers update (ROUTER : --location=LOCATION --zone=ZONE) [--async] [--add-advertisement-ranges=ADD_ADVERTISEMENT_RANGES     | --remove-advertisement-ranges=REMOVE_ADVERTISEMENT_RANGES     | --set-advertisement-ranges=SET_ADVERTISEMENT_RANGES] [GCLOUD_WIDE_FLAG]
DESCRIPTION
(ALPHA) Update a Distributed Cloud Edge Network router.

Note that update operations are not thread-safe, meaning that if more than one user is updating a router at a time, there can be race conditions. Please ensure that at most one update operation is being applied to a given router at a time.

EXAMPLES
To add a northbound route advertisement for destination range 8.8.0.0/16 for Distributed Cloud Edge Network router 'my-router' in edge zone 'us-central1-edge-den1' , run:
gcloud alpha edge-cloud networking routers update my-router --add-advertisement-ranges=8.8.0.0/16 --location=us-central1 --zone=us-central1-edge-den1

To remove a northbound route advertisement for destination range 8.8.0.0/16 for Distributed Cloud Edge Network router 'my-router' in edge zone 'us-central1-edge-den1' , run:

gcloud alpha edge-cloud networking routers update my-router --remove-advertisement-ranges=8.8.0.0/16 --location=us-central1 --zone=us-central1-edge-den1

To replace the set of route advertisements with just 8.8.0.0/16 and 1.1.0.0/16, in Distributed Cloud Edge Network router 'my-router' in edge zone 'us-central1-edge-den1' , run:

gcloud alpha edge-cloud networking routers update my-router --set-advertisement-ranges=8.8.0.0/16,1.1.0.0/16 --location=us-central1 --zone=us-central1-edge-den1
POSITIONAL ARGUMENTS
Router resource - The router to be updated. The arguments in this group can be used to specify the attributes of this resource. (NOTE) Some attributes are not given arguments in this group but can be set in other ways.

To set the project attribute:

  • provide the argument router on the command line with a fully specified name;
  • provide the argument --project on the command line;
  • set the property core/project.

This must be specified.

ROUTER
ID of the router or fully qualified identifier for the router.

To set the router attribute:

  • provide the argument router on the command line.

This positional argument must be specified if any of the other arguments in this group are specified.

--location=LOCATION
The Cloud location for the router.

To set the location attribute:

  • provide the argument router on the command line with a fully specified name;
  • provide the argument --location on the command line.
--zone=ZONE
The zone of the router.

To set the zone attribute:

  • provide the argument router on the command line with a fully specified name;
  • provide the argument --zone on the command line.
FLAGS
--async
Return immediately, without waiting for the operation in progress to complete.
At most one of these can be specified:
--add-advertisement-ranges=ADD_ADVERTISEMENT_RANGES
add the comma-separated list of CIDRs to the set of range advertisements.
--remove-advertisement-ranges=REMOVE_ADVERTISEMENT_RANGES
remove the comma-separated list of CIDRs from the set of range advertisements.
--set-advertisement-ranges=SET_ADVERTISEMENT_RANGES
replace the comma-separated list of CIDRs with the set of range advertisements.
GCLOUD WIDE FLAGS
These flags are available to all commands: --access-token-file, --account, --billing-project, --configuration, --flags-file, --flatten, --format, --help, --impersonate-service-account, --log-http, --project, --quiet, --trace-token, --user-output-enabled, --verbosity.

Run $ gcloud help for details.

NOTES
This command is currently in alpha and might change without notice. If this command fails with API permission errors despite specifying the correct project, you might be trying to access an API with an invitation-only early access allowlist.