1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-18 23:08:48 +00:00

gcloud: Wed Apr 16 10:41:40 UTC 2025

This commit is contained in:
Automated 2025-04-16 10:41:40 +00:00
parent 4637d39593
commit b589c4c4ad
316 changed files with 13928 additions and 1163 deletions

View file

@ -103,13 +103,13 @@ OPTIONAL FLAGS
Type of commitment. memory-optimized indicates that the commitment is
for memory-optimized VMs. TYPE must be one of: accelerator-optimized,
accelerator-optimized-a3, accelerator-optimized-a3-mega,
accelerator-optimized-a3-ultra, compute-optimized,
compute-optimized-c2d, compute-optimized-c3, compute-optimized-c3d,
compute-optimized-h3, general-purpose, general-purpose-c4,
general-purpose-c4a, general-purpose-e2, general-purpose-n2,
general-purpose-n2d, general-purpose-n4, general-purpose-t2d,
graphics-optimized, memory-optimized, memory-optimized-m3,
memory-optimized-m4, memory-optimized-x4-16tb,
accelerator-optimized-a3-ultra, accelerator-optimized-a4,
compute-optimized, compute-optimized-c2d, compute-optimized-c3,
compute-optimized-c3d, compute-optimized-h3, general-purpose,
general-purpose-c4, general-purpose-c4a, general-purpose-e2,
general-purpose-n2, general-purpose-n2d, general-purpose-n4,
general-purpose-t2d, graphics-optimized, memory-optimized,
memory-optimized-m3, memory-optimized-m4, memory-optimized-x4-16tb,
memory-optimized-x4-24tb, memory-optimized-x4-32tb,
storage-optimized-z3.
@ -221,15 +221,23 @@ OPTIONAL FLAGS
Manage the properties of a shared reservation to create
--share-setting=SHARE_SETTING
Specify if this reservation is shared, and if so, the type of
sharing. If you omit this flag, this value is local (not shared)
by default. SHARE_SETTING must be one of: local, projects.
The projects that can use the reservation. SHARE_SETTING must be
one of:
local
Only your project can use the reservation. This is the
default value.
projects
Your project and up to 100 other projects within your
project's organization can use the reservation. If you
specify this value, then you must also include the
--share-with flag in the command.
--share-with=SHARE_WITH,[SHARE_WITH,...]
If this reservation is shared (--share-setting is not local),
provide a list of all of the specific projects that this
reservation is shared with. List must contain project IDs or
project numbers.
If this reservation is shared (--share-setting=projects), then
specify a comma-separated list of projects to share the
reservation with. List projects using project IDs or project
numbers.
GCLOUD WIDE FLAGS
These flags are available to all commands: --access-token-file, --account,

View file

@ -31,7 +31,9 @@ DESCRIPTION
$ scp ~/MY-FILE example-instance.us-central1-a.MY-PROJECT:~
Whenever instances are added, removed, or their external IP addresses are
changed, this command should be re-executed to update the configuration.
changed, the remove command must be run to clear the existing configuration
and then the command can set executed to set the configuration to the
current state.
This command ensures that the user's public SSH key is present in the
project's metadata. If the user does not have a public SSH key, one is

View file

@ -54,7 +54,8 @@ FLAGS
are available include the following: cos-cloud, debian-cloud,
rocky-linux-cloud, ubuntu-os-cloud, centos-cloud, fedora-coreos-cloud,
opensuse-cloud, oracle-linux-cloud, rhel-cloud, rhel-sap-cloud,
suse-cloud, suse-sap-cloud, ubuntu-os-pro-cloud, windows-cloud,
rocky-linux-accelerator-cloud, suse-cloud, suse-sap-cloud,
ubuntu-os-accelerator-images, ubuntu-os-pro-cloud, windows-cloud,
windows-sql-cloud. Enabled by default, use --no-standard-images to
disable.

View file

@ -40,8 +40,9 @@ OPTIONAL FLAGS
day, 2 hours, 3 minutes, and 4 seconds. The value must be between 10m
(10 minutes) and 7d (7 days).
If you want the managed instance group to consume a reservation, then
this flag is optional. Otherwise, it's required.
If you want the managed instance group to consume a reservation or use
FLEX_START provisioning model, then this flag is optional. Otherwise,
it's required.
--zone=ZONE
Zone of the managed instance group to operate on. If not specified and

View file

@ -152,14 +152,21 @@ OPTIONAL FLAGS
Manage the properties of a shared reservation.
--share-setting=SHARE_SETTING
Specify if this reservation is shared, and if so, the type of
sharing. If you omit this flag, this value is local (not shared) by
default. SHARE_SETTING must be one of: local, projects.
The projects that can use the reservation. SHARE_SETTING must be one
of:
local
Only your project can use the reservation. This is the default
value.
projects
Your project and up to 100 other projects within your project's
organization can use the reservation. If you specify this value,
then you must also include the --share-with flag in the command.
--share-with=SHARE_WITH,[SHARE_WITH,...]
If this reservation is shared (--share-setting is not local), provide
a list of all of the specific projects that this reservation is
shared with. List must contain project IDs or project numbers.
If this reservation is shared (--share-setting=projects), then
specify a comma-separated list of projects to share the reservation
with. List projects using project IDs or project numbers.
GCLOUD WIDE FLAGS
These flags are available to all commands: --access-token-file, --account,

View file

@ -40,9 +40,9 @@ POSITIONAL ARGUMENTS
FLAGS
--add-share-with=PROJECT,[PROJECT,...]
A list of specific projects to add to the list of projects that this
reservation is shared with. List must contain project IDs or project
numbers.
If this reservation is shared (--share-setting is projects), then
specify a comma-separated list of projects to share the reservation
with. You must list the projects using project IDs or project numbers.
--remove-share-with=PROJECT,[PROJECT,...]
A list of specific projects to remove from the list of projects that

View file

@ -2,10 +2,7 @@ NAME
gcloud compute routers nats create - add a NAT to a Compute Engine router
SYNOPSIS
gcloud compute routers nats create NAME --router=ROUTER
(--nat-all-subnet-ip-ranges
| --nat-custom-subnet-ip-ranges=SUBNETWORK[:RANGE_NAME|:ALL],[...]
| --nat-primary-subnet-ip-ranges) [--async]
gcloud compute routers nats create NAME --router=ROUTER [--async]
[--auto-network-tier=AUTO_NETWORK_TIER]
[--[no-]enable-dynamic-port-allocation]
[--enable-endpoint-independent-mapping] [--enable-logging]
@ -19,6 +16,11 @@ SYNOPSIS
[--type=TYPE] [--udp-idle-timeout=UDP_IDLE_TIMEOUT]
[--auto-allocate-nat-external-ips
| --nat-external-ip-pool=IP_ADDRESS,[IP_ADDRESS,...]]
[--nat-all-subnet-ip-ranges
| --nat-custom-subnet-ip-ranges=SUBNETWORK[:RANGE_NAME|:ALL],[...]
| --nat-primary-subnet-ip-ranges]
[--nat64-all-v6-subnet-ip-ranges
| --nat64-custom-v6-subnet-ip-ranges=SUBNETWORK,[SUBNETWORK,...]]
[GCLOUD_WIDE_FLAG ...]
DESCRIPTION
@ -56,28 +58,6 @@ REQUIRED FLAGS
--router=ROUTER
The Router to use for NAT.
Exactly one of these must be specified:
--nat-all-subnet-ip-ranges
Allow all IP ranges of all subnetworks in the region, including
primary and secondary ranges, to use NAT.
--nat-custom-subnet-ip-ranges=SUBNETWORK[:RANGE_NAME|:ALL],[...]
List of subnetwork primary and secondary IP ranges to be allowed to
use NAT.
▸ SUBNETWORK:ALL - specifying a subnetwork name with ALL includes
the primary range and all secondary ranges of the subnet.
▸ SUBNETWORK - including a subnetwork name includes only the
primary subnet range of the subnetwork.
▸ SUBNETWORK:RANGE_NAME - specifying a subnetwork and secondary
range name includes only that secondary range. It does not include
the primary range of the subnet.
--nat-primary-subnet-ip-ranges
Allow only primary IP ranges of all subnetworks in the region to use
NAT.
OPTIONAL FLAGS
--async
Return immediately, without waiting for the operation in progress to
@ -240,6 +220,42 @@ OPTIONAL FLAGS
--nat-external-ip-pool=IP_ADDRESS,[IP_ADDRESS,...]
External IP Addresses to use for Cloud NAT
Options for IPv4 subnetwork ranges. If not specified, one of the options
for IPv6 subnetwork ranges must be provided.
At most one of these can be specified:
--nat-all-subnet-ip-ranges
Allow all IP ranges of all subnetworks in the region, including
primary and secondary ranges, to use NAT.
--nat-custom-subnet-ip-ranges=SUBNETWORK[:RANGE_NAME|:ALL],[...]
List of subnetwork primary and secondary IP ranges to be allowed to
use NAT.
▸ SUBNETWORK:ALL - specifying a subnetwork name with ALL includes
the primary range and all secondary ranges of the subnet.
▸ SUBNETWORK - including a subnetwork name includes only the
primary subnet range of the subnetwork.
▸ SUBNETWORK:RANGE_NAME - specifying a subnetwork and secondary
range name includes only that secondary range. It does not include
the primary range of the subnet.
--nat-primary-subnet-ip-ranges
Allow only primary IP ranges of all subnetworks in the region to use
NAT.
Options for IPv6 subnetwork ranges. If not specified, one of the options
for IPv4 subnetwork ranges must be provided.
At most one of these can be specified:
--nat64-all-v6-subnet-ip-ranges
Allow all IPv6 subnetwork ranges in the region to use NAT.
--nat64-custom-v6-subnet-ip-ranges=SUBNETWORK,[SUBNETWORK,...]
List of subnetworks with IPv6 ranges to be allowed to use NAT.
GCLOUD WIDE FLAGS
These flags are available to all commands: --access-token-file, --account,
--billing-project, --configuration, --flags-file, --flatten, --format,

View file

@ -15,6 +15,11 @@ SYNOPSIS
[--clear-min-ports-per-vm | --min-ports-per-vm=MIN_PORTS_PER_VM]
[--clear-nat-external-drain-ip-pool
| --nat-external-drain-ip-pool=NAT_EXTERNAL_DRAIN_IP_POOL,[...]]
[--clear-nat-subnet-ip-ranges | --nat-all-subnet-ip-ranges
| --nat-custom-subnet-ip-ranges=SUBNETWORK[:RANGE_NAME|:ALL],[...]
| --nat-primary-subnet-ip-ranges]
[--clear-nat64-subnet-ip-ranges | --nat64-all-v6-subnet-ip-ranges
| --nat64-custom-v6-subnet-ip-ranges=SUBNETWORK,[SUBNETWORK,...]]
[--clear-tcp-established-idle-timeout
| --tcp-established-idle-timeout=TCP_ESTABLISHED_IDLE_TIMEOUT]
[--clear-tcp-time-wait-timeout
@ -22,9 +27,7 @@ SYNOPSIS
[--clear-tcp-transitory-idle-timeout
| --tcp-transitory-idle-timeout=TCP_TRANSITORY_IDLE_TIMEOUT]
[--clear-udp-idle-timeout | --udp-idle-timeout=UDP_IDLE_TIMEOUT]
[--nat-all-subnet-ip-ranges
| --nat-custom-subnet-ip-ranges=SUBNETWORK[:RANGE_NAME|:ALL],[...]
| --nat-primary-subnet-ip-ranges] [GCLOUD_WIDE_FLAG ...]
[GCLOUD_WIDE_FLAG ...]
DESCRIPTION
gcloud compute routers nats update is used to update a NAT in a Compute
@ -206,6 +209,46 @@ OPTIONAL FLAGS
These IPs must be valid external IPs that have been used as NAT IPs
Options for IPv4 subnetwork ranges.
At most one of these can be specified:
--clear-nat-subnet-ip-ranges
Clear IPv4 subnetwork ranges.
--nat-all-subnet-ip-ranges
Allow all IP ranges of all subnetworks in the region, including
primary and secondary ranges, to use NAT.
--nat-custom-subnet-ip-ranges=SUBNETWORK[:RANGE_NAME|:ALL],[...]
List of subnetwork primary and secondary IP ranges to be allowed to
use NAT.
▸ SUBNETWORK:ALL - specifying a subnetwork name with ALL includes
the primary range and all secondary ranges of the subnet.
▸ SUBNETWORK - including a subnetwork name includes only the
primary subnet range of the subnetwork.
▸ SUBNETWORK:RANGE_NAME - specifying a subnetwork and secondary
range name includes only that secondary range. It does not include
the primary range of the subnet.
--nat-primary-subnet-ip-ranges
Allow only primary IP ranges of all subnetworks in the region to use
NAT.
Options for IPv6 subnetwork ranges.
At most one of these can be specified:
--clear-nat64-subnet-ip-ranges
Clear IPv6 subnetwork ranges.
--nat64-all-v6-subnet-ip-ranges
Allow all IPv6 subnetwork ranges in the region to use NAT.
--nat64-custom-v6-subnet-ip-ranges=SUBNETWORK,[SUBNETWORK,...]
List of subnetworks with IPv6 ranges to be allowed to use NAT.
At most one of these can be specified:
--clear-tcp-established-idle-timeout
@ -246,28 +289,6 @@ OPTIONAL FLAGS
https://cloud.google.com/sdk/gcloud/reference/topic/datetimes for
information on duration formats.
At most one of these can be specified:
--nat-all-subnet-ip-ranges
Allow all IP ranges of all subnetworks in the region, including
primary and secondary ranges, to use NAT.
--nat-custom-subnet-ip-ranges=SUBNETWORK[:RANGE_NAME|:ALL],[...]
List of subnetwork primary and secondary IP ranges to be allowed to
use NAT.
▸ SUBNETWORK:ALL - specifying a subnetwork name with ALL includes
the primary range and all secondary ranges of the subnet.
▸ SUBNETWORK - including a subnetwork name includes only the
primary subnet range of the subnetwork.
▸ SUBNETWORK:RANGE_NAME - specifying a subnetwork and secondary
range name includes only that secondary range. It does not include
the primary range of the subnet.
--nat-primary-subnet-ip-ranges
Allow only primary IP ranges of all subnetworks in the region to use
NAT.
GCLOUD WIDE FLAGS
These flags are available to all commands: --access-token-file, --account,
--billing-project, --configuration, --flags-file, --flatten, --format,

View file

@ -76,7 +76,7 @@ POSITIONAL ARGUMENTS
REQUIRED FLAGS
--runtime-version=RUNTIME_VERSION
Runtime version for the TPU, such as 2.3.
Runtime version for the TPU, such as tpu-ubuntu2204-base.
Specify a chip-based or core-based TPU node.