mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-18 06:47:12 +00:00
gcloud: Wed Mar 16 08:47:18 UTC 2022
This commit is contained in:
parent
7d82d0fc32
commit
971306823a
187 changed files with 3248 additions and 630 deletions
|
|
@ -258,8 +258,9 @@ FLAGS
|
|||
--[no-]enable-logging
|
||||
The logging options for the load balancer traffic served by this
|
||||
backend service. If logging is enabled, logs will be exported to Cloud
|
||||
Logging. Disabled by default. Use --enable-logging to enable and
|
||||
--no-enable-logging to disable.
|
||||
Logging. This can only be specified if the protocol is HTTP, HTTPS,
|
||||
HTTP2, TCP, or SSL. Disabled by default. Use --enable-logging to enable
|
||||
and --no-enable-logging to disable.
|
||||
|
||||
--[no-]enable-strong-affinity
|
||||
Enable or disable strong session affinity. This is only available for
|
||||
|
|
@ -332,7 +333,8 @@ FLAGS
|
|||
service. The value of the field must be a float in the range [0, 1].
|
||||
This configures the sampling rate of requests to the load balancer
|
||||
where 1.0 means all logged requests are reported and 0.0 means no
|
||||
logged requests are reported. The default value is 1.0.
|
||||
logged requests are reported. This can only be specified if the
|
||||
protocol is HTTP, HTTPS, HTTP2, TCP, or SSL. The default value is 1.0.
|
||||
|
||||
--max-ttl=MAX_TTL
|
||||
Specifies the maximum allowed TTL for cached content served by this
|
||||
|
|
|
|||
|
|
@ -171,8 +171,9 @@ FLAGS
|
|||
--[no-]enable-logging
|
||||
The logging options for the load balancer traffic served by this
|
||||
backend service. If logging is enabled, logs will be exported to Cloud
|
||||
Logging. Disabled by default. Use --enable-logging to enable and
|
||||
--no-enable-logging to disable.
|
||||
Logging. This can only be specified if the protocol is HTTP, HTTPS,
|
||||
HTTP2, TCP, or SSL. Disabled by default. Use --enable-logging to enable
|
||||
and --no-enable-logging to disable.
|
||||
|
||||
--[no-]enable-strong-affinity
|
||||
Enable or disable strong session affinity. This is only available for
|
||||
|
|
@ -239,7 +240,8 @@ FLAGS
|
|||
service. The value of the field must be a float in the range [0, 1].
|
||||
This configures the sampling rate of requests to the load balancer
|
||||
where 1.0 means all logged requests are reported and 0.0 means no
|
||||
logged requests are reported. The default value is 1.0.
|
||||
logged requests are reported. This can only be specified if the
|
||||
protocol is HTTP, HTTPS, HTTP2, TCP, or SSL. The default value is 1.0.
|
||||
|
||||
--port-name=PORT_NAME
|
||||
Backend services for external HTTP(S) load balancing, internal HTTP(S)
|
||||
|
|
|
|||
|
|
@ -5,7 +5,8 @@ SYNOPSIS
|
|||
gcloud alpha compute commitments create COMMITMENT --plan=PLAN
|
||||
(--resources=[local-ssd=LOCAL-SSD],[memory=MEMORY],[vcpu=VCPU]
|
||||
--resources-accelerator=[count=COUNT],[type=TYPE]) [--auto-renew]
|
||||
[--region=REGION] [--split-source-commitment=SPLIT_SOURCE_COMMITMENT]
|
||||
[--merge-source-commitments=MERGE_SOURCE_COMMITMENTS] [--region=REGION]
|
||||
[--split-source-commitment=SPLIT_SOURCE_COMMITMENT]
|
||||
[--type=TYPE; default="general-purpose"]
|
||||
[--reservations-from-file=RESERVATIONS_FROM_FILE
|
||||
| [--reservation=RESERVATION : --reservation-zone=RESERVATION_ZONE
|
||||
|
|
@ -65,6 +66,9 @@ OPTIONAL FLAGS
|
|||
--auto-renew
|
||||
Enable auto renewal for the commitment.
|
||||
|
||||
--merge-source-commitments=MERGE_SOURCE_COMMITMENTS
|
||||
Merge the resources of two or more commitments into one new commitment.
|
||||
|
||||
--region=REGION
|
||||
Region of the commitment to create. If not specified, you might be
|
||||
prompted to select a region (interactive mode only).
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ NAME
|
|||
SYNOPSIS
|
||||
gcloud alpha compute routers nats create NAME --router=ROUTER
|
||||
(--nat-all-subnet-ip-ranges
|
||||
| --nat-custom-subnet-ip-ranges=SUBNETWORK[:RANGE_NAME],[...]
|
||||
| --nat-custom-subnet-ip-ranges=SUBNETWORK[:RANGE_NAME|ALL],[...]
|
||||
| --nat-primary-subnet-ip-ranges) [--async]
|
||||
[--[no-]enable-dynamic-port-allocation]
|
||||
[--enable-endpoint-independent-mapping] [--enable-logging]
|
||||
|
|
@ -61,12 +61,17 @@ REQUIRED FLAGS
|
|||
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],[...]
|
||||
--nat-custom-subnet-ip-ranges=SUBNETWORK[:RANGE_NAME|ALL],[...]
|
||||
List of subnetwork primary and secondary IP ranges to be allowed to
|
||||
use NAT. [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.
|
||||
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
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ SYNOPSIS
|
|||
| --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],[...]
|
||||
| --nat-custom-subnet-ip-ranges=SUBNETWORK[:RANGE_NAME|ALL],[...]
|
||||
| --nat-primary-subnet-ip-ranges] [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
|
|
@ -240,12 +240,17 @@ OPTIONAL FLAGS
|
|||
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],[...]
|
||||
--nat-custom-subnet-ip-ranges=SUBNETWORK[:RANGE_NAME|ALL],[...]
|
||||
List of subnetwork primary and secondary IP ranges to be allowed to
|
||||
use NAT. [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.
|
||||
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
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ SYNOPSIS
|
|||
[--scp-flag=SCP_FLAG] [--ssh-key-file=SSH_KEY_FILE]
|
||||
[--strict-host-key-checking=STRICT_HOST_KEY_CHECKING] [--zone=ZONE]
|
||||
[--internal-ip | --tunnel-through-iap]
|
||||
[--network=NETWORK --region=REGION]
|
||||
[--network=NETWORK --region=REGION : --dest-group=DEST_GROUP]
|
||||
[--ssh-key-expiration=SSH_KEY_EXPIRATION
|
||||
| --ssh-key-expire-after=SSH_KEY_EXPIRE_AFTER] [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
|
|
@ -177,6 +177,10 @@ FLAGS
|
|||
--region=REGION
|
||||
Configures the region to use when connecting via IP address or FQDN.
|
||||
|
||||
--dest-group=DEST_GROUP
|
||||
Configures the destination group to use when connecting via IP address
|
||||
or FQDN.
|
||||
|
||||
At most one of these can be specified:
|
||||
|
||||
--ssh-key-expiration=SSH_KEY_EXPIRATION
|
||||
|
|
|
|||
|
|
@ -6,9 +6,13 @@ SYNOPSIS
|
|||
[--chain-name=CHAIN_NAME] [--csek-key-file=FILE]
|
||||
[--description=DESCRIPTION] [--guest-flush] [--labels=[KEY=VALUE,...]]
|
||||
[--source-disk=SOURCE_DISK] [--source-disk-key-file=FILE]
|
||||
[--source-instant-snapshot=SOURCE_INSTANT_SNAPSHOT]
|
||||
[--storage-location=LOCATION]
|
||||
[--source-disk-region=SOURCE_DISK_REGION
|
||||
| --source-disk-zone=SOURCE_DISK_ZONE] [GCLOUD_WIDE_FLAG ...]
|
||||
| --source-disk-zone=SOURCE_DISK_ZONE]
|
||||
[--source-instant-snapshot-region=SOURCE_INSTANT_SNAPSHOT_REGION
|
||||
| --source-instant-snapshot-zone=SOURCE_INSTANT_SNAPSHOT_ZONE]
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(ALPHA) gcloud alpha compute snapshots create creates snapshot of
|
||||
|
|
@ -76,6 +80,12 @@ FLAGS
|
|||
Required if the source disk is protected by a customer-supplied
|
||||
encryption key.
|
||||
|
||||
--source-instant-snapshot=SOURCE_INSTANT_SNAPSHOT
|
||||
Source instant snapshot used to create the snapshot. To create a
|
||||
snapshot from a source instant snapshot in a different project, specify
|
||||
the full path to the source instant snapshot. For example:
|
||||
https://www.googleapis.com/compute/v1/projects/MY-PROJECT/zones/MY-ZONE/instantSnapshots/MY-INSTANT-SNAPSHOT
|
||||
|
||||
--storage-location=LOCATION
|
||||
Google Cloud Storage location, either regional or multi-regional, where
|
||||
snapshot content is to be stored. If absent, a nearby regional or
|
||||
|
|
@ -91,6 +101,16 @@ FLAGS
|
|||
Zone of the source disk to operate on. Overrides the default
|
||||
compute/zone property value for this command invocation.
|
||||
|
||||
At most one of these can be specified:
|
||||
|
||||
--source-instant-snapshot-region=SOURCE_INSTANT_SNAPSHOT_REGION
|
||||
Region of the source instant snapshot to operate on. Overrides the
|
||||
default compute/region property value for this command invocation.
|
||||
|
||||
--source-instant-snapshot-zone=SOURCE_INSTANT_SNAPSHOT_ZONE
|
||||
Zone of the source instant snapshot to operate on. Overrides the
|
||||
default compute/zone 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,
|
||||
|
|
|
|||
|
|
@ -107,7 +107,7 @@ OPTIONAL FLAGS
|
|||
--share-setting=SHARE_SETTING
|
||||
Specify if this node group is shared; and if so, the type of sharing:
|
||||
share with specific projects or folders. SHARE_SETTING must be one
|
||||
of: projects, organization.
|
||||
of: projects, organization, local.
|
||||
|
||||
This flag must be specified if any of the other arguments in this
|
||||
group are specified.
|
||||
|
|
|
|||
|
|
@ -84,7 +84,7 @@ FLAGS
|
|||
--share-setting=SHARE_SETTING
|
||||
Specify if this node group is shared; and if so, the type of sharing:
|
||||
share with specific projects or folders. SHARE_SETTING must be one
|
||||
of: projects, organization.
|
||||
of: projects, organization, local.
|
||||
|
||||
This flag must be specified if any of the other arguments in this
|
||||
group are specified.
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ SYNOPSIS
|
|||
[--plain] [--ssh-flag=SSH_FLAG] [--ssh-key-file=SSH_KEY_FILE]
|
||||
[--strict-host-key-checking=STRICT_HOST_KEY_CHECKING] [--troubleshoot]
|
||||
[--zone=ZONE] [--internal-ip | --tunnel-through-iap]
|
||||
[--network=NETWORK --region=REGION]
|
||||
[--network=NETWORK --region=REGION : --dest-group=DEST_GROUP]
|
||||
[--ssh-key-expiration=SSH_KEY_EXPIRATION
|
||||
| --ssh-key-expire-after=SSH_KEY_EXPIRE_AFTER] [GCLOUD_WIDE_FLAG ...]
|
||||
[-- SSH_ARGS ...]
|
||||
|
|
@ -229,6 +229,10 @@ FLAGS
|
|||
--region=REGION
|
||||
Configures the region to use when connecting via IP address or FQDN.
|
||||
|
||||
--dest-group=DEST_GROUP
|
||||
Configures the destination group to use when connecting via IP address
|
||||
or FQDN.
|
||||
|
||||
At most one of these can be specified:
|
||||
|
||||
--ssh-key-expiration=SSH_KEY_EXPIRATION
|
||||
|
|
|
|||
|
|
@ -5,7 +5,8 @@ SYNOPSIS
|
|||
gcloud alpha compute start-iap-tunnel INSTANCE_NAME INSTANCE_PORT
|
||||
[--iap-tunnel-disable-connection-check]
|
||||
[--local-host-port=LOCAL_HOST_PORT; default="localhost:0"]
|
||||
[--zone=ZONE] [--network=NETWORK --region=REGION]
|
||||
[--zone=ZONE]
|
||||
[--network=NETWORK --region=REGION : --dest-group=DEST_GROUP]
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
|
|
@ -91,6 +92,10 @@ FLAGS
|
|||
--region=REGION
|
||||
Configures the region to use when connecting via IP address or FQDN.
|
||||
|
||||
--dest-group=DEST_GROUP
|
||||
Configures the destination group to use when connecting via IP address
|
||||
or FQDN.
|
||||
|
||||
GCLOUD WIDE FLAGS
|
||||
These flags are available to all commands: --access-token-file, --account,
|
||||
--billing-project, --configuration, --flags-file, --flatten, --format,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue