mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-11 07:29:40 +00:00
gcloud: Wed Mar 23 08:27:29 UTC 2022
This commit is contained in:
parent
971306823a
commit
cd34e797ae
109 changed files with 1563 additions and 627 deletions
|
|
@ -25,6 +25,7 @@ SYNOPSIS
|
|||
oauth2-client-secret=OAUTH2-CLIENT-SECRET]]
|
||||
[--idle-timeout-sec=IDLE_TIMEOUT_SEC]
|
||||
[--load-balancing-scheme=LOAD_BALANCING_SCHEME; default="EXTERNAL"]
|
||||
[--locality-lb-policy=LOCALITY_LB_POLICY]
|
||||
[--logging-sample-rate=LOGGING_SAMPLE_RATE] [--max-ttl=MAX_TTL]
|
||||
[--[no-]negative-caching] [--negative-caching-policy=[[CODE=TTL],...]]
|
||||
[--network=NETWORK] [--port-name=PORT_NAME] [--protocol=PROTOCOL]
|
||||
|
|
@ -306,7 +307,9 @@ FLAGS
|
|||
|
||||
--idle-timeout-sec=IDLE_TIMEOUT_SEC
|
||||
Specifies how long to keep a connection tracking table entry while
|
||||
there is no matching traffic (in seconds).
|
||||
there is no matching traffic (in seconds). Applicable only for backend
|
||||
service-based network load balancers and internal TCP/UDP load
|
||||
balancers as part of a connection tracking policy.
|
||||
|
||||
--load-balancing-scheme=LOAD_BALANCING_SCHEME; default="EXTERNAL"
|
||||
Specifies the load balancer type. Choose EXTERNAL for load balancers
|
||||
|
|
@ -319,6 +322,12 @@ FLAGS
|
|||
LOAD_BALANCING_SCHEME must be one of: INTERNAL, EXTERNAL,
|
||||
INTERNAL_SELF_MANAGED, EXTERNAL_MANAGED, INTERNAL_MANAGED.
|
||||
|
||||
--locality-lb-policy=LOCALITY_LB_POLICY
|
||||
The load balancing algorithm used within the scope of the locality.
|
||||
LOCALITY_LB_POLICY must be one of: INVALID_LB_POLICY, ROUND_ROBIN,
|
||||
LEAST_REQUEST, RING_HASH, RANDOM, ORIGINAL_DESTINATION, MAGLEV,
|
||||
WEIGHTED_MAGLEV.
|
||||
|
||||
--logging-sample-rate=LOGGING_SAMPLE_RATE
|
||||
This field can only be specified if logging is enabled for the backend
|
||||
service. The value of the field must be a float in the range [0, 1].
|
||||
|
|
|
|||
|
|
@ -20,6 +20,7 @@ SYNOPSIS
|
|||
[--iap=disabled|enabled,[oauth2-client-id=OAUTH2-CLIENT-ID,
|
||||
oauth2-client-secret=OAUTH2-CLIENT-SECRET]]
|
||||
[--idle-timeout-sec=IDLE_TIMEOUT_SEC]
|
||||
[--locality-lb-policy=LOCALITY_LB_POLICY]
|
||||
[--logging-sample-rate=LOGGING_SAMPLE_RATE] [--port-name=PORT_NAME]
|
||||
[--protocol=PROTOCOL] [--[no-]request-coalescing]
|
||||
[--security-policy=SECURITY_POLICY]
|
||||
|
|
@ -224,7 +225,15 @@ FLAGS
|
|||
|
||||
--idle-timeout-sec=IDLE_TIMEOUT_SEC
|
||||
Specifies how long to keep a connection tracking table entry while
|
||||
there is no matching traffic (in seconds).
|
||||
there is no matching traffic (in seconds). Applicable only for backend
|
||||
service-based network load balancers and internal TCP/UDP load
|
||||
balancers as part of a connection tracking policy.
|
||||
|
||||
--locality-lb-policy=LOCALITY_LB_POLICY
|
||||
The load balancing algorithm used within the scope of the locality.
|
||||
LOCALITY_LB_POLICY must be one of: INVALID_LB_POLICY, ROUND_ROBIN,
|
||||
LEAST_REQUEST, RING_HASH, RANDOM, ORIGINAL_DESTINATION, MAGLEV,
|
||||
WEIGHTED_MAGLEV.
|
||||
|
||||
--logging-sample-rate=LOGGING_SAMPLE_RATE
|
||||
This field can only be specified if logging is enabled for the backend
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ SYNOPSIS
|
|||
[--min-cpu-platform=PLATFORM] [--min-node-cpu=MIN_NODE_CPU]
|
||||
[--network=NETWORK] [--network-interface=[PROPERTY=VALUE,...]]
|
||||
[--network-performance-configs=[PROPERTY=VALUE,...]]
|
||||
[--network-tier=NETWORK_TIER]
|
||||
[--network-tier=NETWORK_TIER] [--node-project=NODE_PROJECT]
|
||||
[--post-key-revocation-action-type=POLICY] [--preemptible]
|
||||
[--private-ipv6-google-access-type=PRIVATE_IPV6_GOOGLE_ACCESS_TYPE]
|
||||
[--private-network-ip=PRIVATE_NETWORK_IP]
|
||||
|
|
@ -631,6 +631,10 @@ FLAGS
|
|||
NETWORK_TIER must be one of: PREMIUM, STANDARD, FIXED_STANDARD. The
|
||||
default value is PREMIUM.
|
||||
|
||||
--node-project=NODE_PROJECT
|
||||
The name of the project with shared sole tenant node groups to create
|
||||
an instance in.
|
||||
|
||||
--post-key-revocation-action-type=POLICY
|
||||
Specifies the behavior of the instance when the KMS key of one of its
|
||||
attached disks is revoked. The default is noop. POLICY must be one of:
|
||||
|
|
|
|||
|
|
@ -67,8 +67,10 @@ GCLOUD WIDE FLAGS
|
|||
Run $ gcloud help for details.
|
||||
|
||||
NOTES
|
||||
This command is currently in beta and might change without notice. This
|
||||
variant is also available:
|
||||
This command is currently in beta and might change without notice. These
|
||||
variants are also available:
|
||||
|
||||
$ gcloud compute instances resume
|
||||
|
||||
$ gcloud alpha compute instances resume
|
||||
|
||||
|
|
|
|||
|
|
@ -13,12 +13,11 @@ DESCRIPTION
|
|||
while it is in the RUNNING state. A suspended instance will be put in
|
||||
SUSPENDED state.
|
||||
|
||||
Note: A suspended instance can be resumed by running the gcloud beta
|
||||
compute instances resume command.
|
||||
Note: A suspended instance can be resumed by running the gcloud compute
|
||||
instances resume command.
|
||||
|
||||
Beta restrictions: Suspending a Preemptible VM is not supported and will
|
||||
result in an API error. Suspending a VM that is using CSEK or GPUs is not
|
||||
supported and will result in an API error.
|
||||
Limitations: See this feature's restrictions at
|
||||
https://cloud.google.com/compute/docs/instances/suspend-resume-instance#limitations
|
||||
|
||||
EXAMPLES
|
||||
To suspend an instance named test-instance, run:
|
||||
|
|
@ -72,8 +71,10 @@ GCLOUD WIDE FLAGS
|
|||
Run $ gcloud help for details.
|
||||
|
||||
NOTES
|
||||
This command is currently in beta and might change without notice. This
|
||||
variant is also available:
|
||||
This command is currently in beta and might change without notice. These
|
||||
variants are also available:
|
||||
|
||||
$ gcloud compute instances suspend
|
||||
|
||||
$ gcloud alpha compute instances suspend
|
||||
|
||||
|
|
|
|||
|
|
@ -56,7 +56,7 @@ FLAGS
|
|||
network is used if unspecified.
|
||||
|
||||
This is only supported for NEGs with endpoint type gce-vm-ip-port,
|
||||
non-gcp-private-ip-port, or gce-vm-ip.
|
||||
non-gcp-private-ip-port, gce-vm-ip, or private-service-connect.
|
||||
|
||||
--network-endpoint-type=NETWORK_ENDPOINT_TYPE; default="gce-vm-ip-port"
|
||||
Determines the spec of endpoints attached to this group.
|
||||
|
|
@ -104,8 +104,7 @@ FLAGS
|
|||
|
||||
private-service-connect
|
||||
The network endpoint corresponds to a service outside the VPC,
|
||||
accessed via Private Service Connect. The network, subnet, and
|
||||
default port must not be set.
|
||||
accessed via Private Service Connect.
|
||||
|
||||
NETWORK_ENDPOINT_TYPE must be one of: gce-vm-ip-port,
|
||||
internet-ip-port, internet-fqdn-port, non-gcp-private-ip-port,
|
||||
|
|
|
|||
|
|
@ -8,7 +8,9 @@ SYNOPSIS
|
|||
[--description=DESCRIPTION] [--maintenance-policy=MAINTENANCE_POLICY]
|
||||
[--maintenance-window-start-time=START_TIME] [--zone=ZONE]
|
||||
[--autoscaler-mode=AUTOSCALER_MODE
|
||||
: --max-nodes=MAX_NODES --min-nodes=MIN_NODES] [GCLOUD_WIDE_FLAG ...]
|
||||
: --max-nodes=MAX_NODES --min-nodes=MIN_NODES]
|
||||
[--share-setting=SHARE_SETTING : --share-with=PROJECT,[PROJECT,...]]
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(BETA) Create a Compute Engine node group.
|
||||
|
|
@ -100,6 +102,19 @@ OPTIONAL FLAGS
|
|||
The minimum size of the node group. Default is 0 and must be an
|
||||
integer value smaller than or equal to --max-nodes.
|
||||
|
||||
Manage the properties of a shared setting
|
||||
|
||||
--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, local.
|
||||
|
||||
This flag must be specified if any of the other arguments in this
|
||||
group are specified.
|
||||
|
||||
--share-with=PROJECT,[PROJECT,...]
|
||||
A list of specific projects this node group should be shared with.
|
||||
|
||||
GCLOUD WIDE FLAGS
|
||||
These flags are available to all commands: --access-token-file, --account,
|
||||
--billing-project, --configuration, --flags-file, --flatten, --format,
|
||||
|
|
|
|||
|
|
@ -3,9 +3,9 @@ NAME
|
|||
Engine node groups
|
||||
|
||||
SYNOPSIS
|
||||
gcloud beta compute sole-tenancy node-groups list [--filter=EXPRESSION]
|
||||
[--limit=LIMIT] [--page-size=PAGE_SIZE] [--sort-by=[FIELD,...]] [--uri]
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
gcloud beta compute sole-tenancy node-groups list [--share-settings]
|
||||
[--filter=EXPRESSION] [--limit=LIMIT] [--page-size=PAGE_SIZE]
|
||||
[--sort-by=[FIELD,...]] [--uri] [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(BETA) gcloud beta compute sole-tenancy node-groups list displays all
|
||||
|
|
@ -28,6 +28,10 @@ EXAMPLES
|
|||
$ gcloud beta compute sole-tenancy node-groups list \
|
||||
--filter="region:( us-central1 europe-west1 )"
|
||||
|
||||
FLAGS
|
||||
--share-settings
|
||||
If provided, shows details for the share setting
|
||||
|
||||
LIST COMMAND FLAGS
|
||||
--filter=EXPRESSION
|
||||
Apply a Boolean filter EXPRESSION to each resource item to be listed.
|
||||
|
|
|
|||
|
|
@ -7,7 +7,9 @@ SYNOPSIS
|
|||
[--node-template=NODE_TEMPLATE] [--zone=ZONE]
|
||||
[--add-nodes=ADD_NODES | --delete-nodes=[NODE,...]]
|
||||
[--autoscaler-mode=AUTOSCALER_MODE
|
||||
--max-nodes=MAX_NODES --min-nodes=MIN_NODES] [GCLOUD_WIDE_FLAG ...]
|
||||
--max-nodes=MAX_NODES --min-nodes=MIN_NODES]
|
||||
[--share-setting=SHARE_SETTING : --share-with=PROJECT,[PROJECT,...]]
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(BETA) Update a Compute Engine node group.
|
||||
|
|
@ -77,6 +79,19 @@ FLAGS
|
|||
The minimum size of the node group. Default is 0 and must be an
|
||||
integer value smaller than or equal to --max-nodes.
|
||||
|
||||
Manage the properties of a shared setting
|
||||
|
||||
--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, local.
|
||||
|
||||
This flag must be specified if any of the other arguments in this
|
||||
group are specified.
|
||||
|
||||
--share-with=PROJECT,[PROJECT,...]
|
||||
A list of specific projects this node group should be shared with.
|
||||
|
||||
GCLOUD WIDE FLAGS
|
||||
These flags are available to all commands: --access-token-file, --account,
|
||||
--billing-project, --configuration, --flags-file, --flatten, --format,
|
||||
|
|
|
|||
|
|
@ -2,7 +2,8 @@ NAME
|
|||
gcloud beta compute url-maps validate - validate a URL map
|
||||
|
||||
SYNOPSIS
|
||||
gcloud beta compute url-maps validate [--source=SOURCE]
|
||||
gcloud beta compute url-maps validate
|
||||
[--load-balancing-scheme=LOAD_BALANCING_SCHEME] [--source=SOURCE]
|
||||
[--global | --region=REGION] [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
|
|
@ -16,6 +17,27 @@ EXAMPLES
|
|||
$ gcloud beta compute url-maps validate --source=<path-to-file>
|
||||
|
||||
FLAGS
|
||||
--load-balancing-scheme=LOAD_BALANCING_SCHEME
|
||||
Specifies the load balancer type(s) this validation request is for. Use
|
||||
EXTERNAL_MANAGED for HTTP/HTTPS External Global Load Balancer with
|
||||
Advanced Traffic Management. Use EXTERNAL for Classic HTTP/HTTPS
|
||||
External Global Load Balancer.
|
||||
|
||||
Other load balancer types are not supported. For more information,
|
||||
refer to Choosing a load balancer
|
||||
(https://cloud.google.com/load-balancing/docs/choosing-load-balancer/).
|
||||
|
||||
If unspecified, the load balancing scheme will be inferred from the
|
||||
backend service resources this URL map references. If that can not be
|
||||
inferred (for example, this URL map only references backend buckets, or
|
||||
this URL map is for rewrites and redirects only and doesn't reference
|
||||
any backends), EXTERNAL will be used as the default type.
|
||||
|
||||
If specified, the scheme must not conflict with the load balancing
|
||||
scheme of the backend service resources this URL map references.
|
||||
|
||||
LOAD_BALANCING_SCHEME must be one of: EXTERNAL, EXTERNAL_MANAGED.
|
||||
|
||||
--source=SOURCE
|
||||
Path to a YAML file containing configuration export data. The YAML file
|
||||
must not contain any output-only fields. Alternatively, you may omit
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue