1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-18 14:56:05 +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

@ -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,