1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-09 19:06:53 +00:00
gcloud-help/gcloud/alpha/compute/networks/update
2022-03-01 04:29:52 +00:00

63 lines
2.3 KiB
Text

NAME
gcloud alpha compute networks update - update a Compute Engine network
SYNOPSIS
gcloud alpha compute networks update NAME [--async] [--mtu=MTU]
[--bgp-routing-mode=MODE | --switch-to-custom-subnet-mode]
[GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(ALPHA) gcloud alpha compute networks update is used to update Compute
Engine networks.
POSITIONAL ARGUMENTS
NAME
Name of the network to operate on.
FLAGS
--async
Return immediately, without waiting for the operation in progress to
complete.
--mtu=MTU
Maximum transmission unit (MTU) is the size of the largest IP packet
that can be transmitted on this network. Default value is 1460 bytes,
and the maximum is 1500 bytes. The MTU advertised via DHCP to all
instances attached to this network.
At most one of these can be specified:
--bgp-routing-mode=MODE
The target BGP routing mode for this network. MODE must be one of:
global
Cloud Routers in this network advertise subnetworks from all
regions to their BGP peers, and program instances in all regions
with the router's best learned BGP routes.
regional
Cloud Routers in this network advertise subnetworks from their
local region only to their BGP peers, and program instances in
their local region only with the router's best learned BGP
routes.
--switch-to-custom-subnet-mode
Switch to custom subnet mode. This action cannot be undone.
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. These variants are also available:
$ gcloud compute networks update
$ gcloud beta compute networks update