gcloud_alpha_compute_routers_update-interface (1)
NAME
- gcloud alpha compute routers update-interface - update an interface on a Google Compute Engine router
SYNOPSIS
-
gcloud alpha compute routers update-interface NAME --interface-name=INTERFACE_NAME [--ip-address=IP_ADDRESS] [--mask-length=MASK_LENGTH] [--region=REGION] [--interconnect-attachment=INTERCONNECT_ATTACHMENT | --interconnect-attachment-region=INTERCONNECT_ATTACHMENT_REGION | --vpn-tunnel=VPN_TUNNEL | --vpn-tunnel-region=VPN_TUNNEL_REGION] [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(ALPHA) gcloud alpha compute routers update-interface is used to
POSITIONAL ARGUMENTS
-
- NAME
-
Name of the router to update.
REQUIRED FLAGS
-
- --interface-name=INTERFACE_NAME
-
The name of the interface being updated.
OPTIONAL FLAGS
-
- --ip-address=IP_ADDRESS
-
The link local address of the router for this interface.
- --mask-length=MASK_LENGTH
-
The subnet mask for the link-local IP range of the interface. The interface IP
address and BGP peer IP address must be selected from the subnet defined by this
link-local range.
- --region=REGION
-
Region of the router to update. If not specified, you may be prompted to select
a region.
To avoid prompting when this flag is omitted, you can set the compute/region property:
- $ gcloud config set compute/region REGION
A list of regions can be fetched by running:
- $ gcloud compute regions list
To unset the property, run:
- $ gcloud config unset compute/region
Alternatively, the region can be stored in the environment variable CLOUDSDK_COMPUTE_REGION.
-
At most one of these may be specified:
-
- --interconnect-attachment=INTERCONNECT_ATTACHMENT
-
The interconnect attachment of the interface being updated.
- --interconnect-attachment-region=INTERCONNECT_ATTACHMENT_REGION
-
Region of the interconnectAttachment to operate on. If not specified it will be
set to the region of the router. Overrides the default compute/region
property value for this command invocation.
- --vpn-tunnel=VPN_TUNNEL
-
The tunnel of the interface being updated.
- --vpn-tunnel-region=VPN_TUNNEL_REGION
-
Region of the vpn tunnel to operate on. If not specified it will be set to the
region of the router. Overrides the default compute/region property value
for this command invocation.
-
GCLOUD WIDE FLAGS
These flags are available to all commands: --account, --configuration, --flags-file, --flatten, --format, --help, --log-http, --project, --quiet, --trace-token, --user-output-enabled, --verbosity. Run $ gcloud help for details.
NOTES
This command is currently in ALPHA and may change without notice. If this command fails with API permission errors despite specifying the right project, you will have to apply for early access and have your projects registered on the API whitelist to use it. To do so, contact Support at cloud.google.com/support These variants are also available:
- $ gcloud compute routers update-interface $ gcloud beta compute routers update-interface