1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-16 12:22:03 +00:00

gcloud: Wed May 10 11:35:23 UTC 2023

This commit is contained in:
Automated 2023-05-10 11:35:23 +00:00
parent a4643b613a
commit 14441c7ea7
154 changed files with 6649 additions and 164 deletions

View file

@ -34,6 +34,9 @@ COMMANDS
list
(BETA) List addresses.
move
(BETA) Move an address to another project.
update
(BETA) Update a Compute Engine address.

View file

@ -0,0 +1,57 @@
NAME
gcloud beta compute addresses move - move an address to another project
SYNOPSIS
gcloud beta compute addresses move NAME --target-project=TARGET_PROJECT
[--description=DESCRIPTION] [--new-name=NEW_NAME]
[--global | --region=REGION] [GCLOUD_WIDE_FLAG ...]
EXAMPLES
The following command moves address external-ip1 in region us-central1 to
project test-playground with new address name test-ip1:
$ gcloud beta compute addresses move external-ip1 \
--new-name=test-ip1 --target-project=test-playground \
--region=us-central1
POSITIONAL ARGUMENTS
NAME
Name of the address to operate on.
REQUIRED FLAGS
--target-project=TARGET_PROJECT
The target project to move address to. It can be either a project name
or a project numerical ID. It must not be the same as the current
project.
OPTIONAL FLAGS
--description=DESCRIPTION
Description of moved new address.
--new-name=NEW_NAME
Name of moved new address. If not specified, current address's name is
used.
At most one of these can be specified:
--global
If set, the address is global.
--region=REGION
Region of the address to operate on. Overrides the default
compute/region property value for this command invocation.
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 beta and might change without notice. This
variant is also available:
$ gcloud alpha compute addresses move

View file

@ -343,6 +343,13 @@ FLAGS
among other restrictions. For more information, see
https://cloud.google.com/compute/docs/disks/sharing-disks-between-vms.
replica-zones
Required for each regional disk associated with the instance.
Specify the URLs of the zones where the disk should be replicated
to. You must provide exactly two replica zones, and one zone must
be the same as the instance zone. You can't use this option with
boot disks.
--csek-key-file=FILE
Path to a Customer-Supplied Encryption Key (CSEK) key file that maps
Compute Engine resources to user managed keys to be used when creating,

View file

@ -6,7 +6,8 @@ SYNOPSIS
gcloud beta compute routers add-bgp-peer NAME --interface=INTERFACE
--peer-asn=PEER_ASN --peer-name=PEER_NAME
[--advertised-route-priority=ADVERTISED_ROUTE_PRIORITY]
[--advertisement-mode=MODE] [--async] [--[no-]enable-ipv6]
[--advertisement-mode=MODE] [--async]
[--custom-learned-route-priority=PRIORITY] [--[no-]enable-ipv6]
[--[no-]enabled] [--instance=INSTANCE] [--instance-zone=INSTANCE_ZONE]
[--ipv6-nexthop-address=IPV6_NEXTHOP_ADDRESS]
[--md5-authentication-key=MD5_AUTHENTICATION_KEY]
@ -14,6 +15,7 @@ SYNOPSIS
[--peer-ipv6-nexthop-address=PEER_IPV6_NEXTHOP_ADDRESS]
[--region=REGION] [--set-advertisement-groups=[GROUP,...]]
[--set-advertisement-ranges=[CIDR_RANGE=DESC,...]]
[--set-custom-learned-route-ranges=[CIDR_RANGE,...]]
[--bfd-min-receive-interval=BFD_MIN_RECEIVE_INTERVAL
--bfd-min-transmit-interval=BFD_MIN_TRANSMIT_INTERVAL
--bfd-multiplier=BFD_MULTIPLIER
@ -58,6 +60,12 @@ OPTIONAL FLAGS
Return immediately, without waiting for the operation in progress to
complete.
--custom-learned-route-priority=PRIORITY
An integral value 0 <= priority <= 65535, to be applied to all custom
learned route IP address ranges for this peer. If not specified, a
Google-managed priority value of 100 is used. The routes with the
lowest priority value win.
--[no-]enable-ipv6
If IPv6 is enabled, the peer connection can be established with IPv6
route exchange. If disabled, no IPv6 route exchange is allowed on any
@ -155,6 +163,14 @@ OPTIONAL FLAGS
the range, use --set-advertisement-ranges=192.168.10.0/24=my-networks.
This list can only be specified in custom advertisement mode.
--set-custom-learned-route-ranges=[CIDR_RANGE,...]
The list of user-defined custom learned route IP address ranges for
this peer. This list is a comma separated IP address ranges such as
1.2.3.4,6.7.0.0/16,2001:db8:abcd:12::/64 where each IP address range
must be a valid CIDR-formatted prefix. If an IP address is provided
without a subnet mask, it is interpreted as a /32 singular IP address
range for IPv4, and /128 for IPv6.
Arguments to configure BFD (Bidirectional Forwarding Detection) settings:
--bfd-min-receive-interval=BFD_MIN_RECEIVE_INTERVAL

View file

@ -6,17 +6,21 @@ SYNOPSIS
gcloud beta compute routers update-bgp-peer NAME --peer-name=PEER_NAME
[--advertised-route-priority=ADVERTISED_ROUTE_PRIORITY]
[--advertisement-mode=MODE] [--async] [--clear-md5-authentication-key]
[--[no-]enable-ipv6] [--[no-]enabled] [--interface=INTERFACE]
[--ip-address=IP_ADDRESS] [--ipv6-nexthop-address=IPV6_NEXTHOP_ADDRESS]
[--custom-learned-route-priority=PRIORITY] [--[no-]enable-ipv6]
[--[no-]enabled] [--interface=INTERFACE] [--ip-address=IP_ADDRESS]
[--ipv6-nexthop-address=IPV6_NEXTHOP_ADDRESS]
[--md5-authentication-key=MD5_AUTHENTICATION_KEY] [--peer-asn=PEER_ASN]
[--peer-ip-address=PEER_IP_ADDRESS]
[--peer-ipv6-nexthop-address=PEER_IPV6_NEXTHOP_ADDRESS]
[--region=REGION] [--set-advertisement-groups=[GROUP,...]]
[--set-advertisement-ranges=[CIDR_RANGE=DESC,...]]
[--set-custom-learned-route-ranges=[CIDR_RANGE,...]]
[--add-advertisement-groups=[GROUP,...]
| --add-advertisement-ranges=[CIDR_RANGE=DESC,...]
| --remove-advertisement-groups=[GROUP,...]
| --remove-advertisement-ranges=[CIDR_RANGE,...]]
[--add-custom-learned-route-ranges=[CIDR_RANGE,...]
| --remove-custom-learned-route-ranges=[CIDR_RANGE,...]]
[--bfd-min-receive-interval=BFD_MIN_RECEIVE_INTERVAL
--bfd-min-transmit-interval=BFD_MIN_TRANSMIT_INTERVAL
--bfd-multiplier=BFD_MULTIPLIER
@ -57,6 +61,12 @@ OPTIONAL FLAGS
--clear-md5-authentication-key
If specified, remove MD5 authentication from the BGP peer.
--custom-learned-route-priority=PRIORITY
An integral value 0 <= priority <= 65535, to be applied to all custom
learned route IP address ranges for this peer. If not specified, a
Google-managed priority value of 100 is used. The routes with the
lowest priority value win.
--[no-]enable-ipv6
If IPv6 is enabled, the peer connection can be established with IPv6
route exchange. If disabled, no IPv6 route exchange is allowed on any
@ -141,6 +151,14 @@ OPTIONAL FLAGS
the range, use --set-advertisement-ranges=192.168.10.0/24=my-networks.
This list can only be specified in custom advertisement mode.
--set-custom-learned-route-ranges=[CIDR_RANGE,...]
The list of user-defined custom learned route IP address ranges for
this peer. This list is a comma separated IP address ranges such as
1.2.3.4,6.7.0.0/16,2001:db8:abcd:12::/64 where each IP address range
must be a valid CIDR-formatted prefix. If an IP address is provided
without a subnet mask, it is interpreted as a /32 singular IP address
range for IPv4, and /128 for IPv6.
At most one of these can be specified:
--add-advertisement-groups=[GROUP,...]
@ -181,6 +199,24 @@ OPTIONAL FLAGS
exist in the current set of custom advertisements. This field can
only be specified in custom advertisement mode.
At most one of these can be specified:
--add-custom-learned-route-ranges=[CIDR_RANGE,...]
A list of user-defined custom learned route IP address ranges to be
added to this peer. This list is a comma separated IP address ranges
such as 1.2.3.4,6.7.0.0/16,2001:db8:abcd:12::/64 where each IP
address range must be a valid CIDR-formatted prefix. If an IP address
is provided without a subnet mask, it is interpreted as a /32
singular IP address range for IPv4, and /128 for IPv6.
--remove-custom-learned-route-ranges=[CIDR_RANGE,...]
A list of user-defined custom learned route IP address ranges to be
removed from this peer. This list is a comma separated IP address
ranges such as 1.2.3.4,6.7.0.0/16,2001:db8:abcd:12::/64 where each IP
address range must be a valid CIDR-formatted prefix. If an IP address
is provided without a subnet mask, it is interpreted as a /32
singular IP address range for IPv4, and /128 for IPv6.
Arguments to update BFD (Bidirectional Forwarding Detection) settings:
--bfd-min-receive-interval=BFD_MIN_RECEIVE_INTERVAL

View file

@ -15,6 +15,7 @@ SYNOPSIS
[--log-level=LOG_LEVEL]
[--network-ddos-protection=NETWORK_DDOS_PROTECTION]
[--recaptcha-redirect-site-key=RECAPTCHA_REDIRECT_SITE_KEY]
[--user-ip-request-headers=[USER_IP_REQUEST_HEADER,...]]
[--global | --region=REGION] [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
@ -82,6 +83,10 @@ FLAGS
The reCAPTCHA site key to be used for rules using the redirect action
and the google-recaptcha redirect type under the security policy.
--user-ip-request-headers=[USER_IP_REQUEST_HEADER,...]
A comma-separated list of request header names to use for resolving the
caller's user IP address.
At most one of these can be specified:
--global