mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-18 06:47:12 +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
|
|
@ -23,6 +23,7 @@ SYNOPSIS
|
|||
[--local-ssd=[device-name=DEVICE-NAME],
|
||||
[interface=INTERFACE],[size=SIZE]]
|
||||
[--location-policy=[ZONE=POLICY,...]] [--machine-type=MACHINE_TYPE]
|
||||
[--max-run-duration=MAX_RUN_DURATION]
|
||||
[--metadata=KEY=VALUE,[KEY=VALUE,...]]
|
||||
[--metadata-from-file=KEY=LOCAL_FILE_PATH,[...]]
|
||||
[--min-count=MIN_COUNT] [--min-cpu-platform=PLATFORM]
|
||||
|
|
@ -37,6 +38,7 @@ SYNOPSIS
|
|||
[--shielded-integrity-monitoring] [--shielded-secure-boot]
|
||||
[--shielded-vtpm] [--source-instance-template=SOURCE_INSTANCE_TEMPLATE]
|
||||
[--subnet=SUBNET] [--tags=TAG,[TAG,...]]
|
||||
[--termination-time=TERMINATION_TIME]
|
||||
[--threads-per-core=THREADS_PER_CORE]
|
||||
[--visible-core-count=VISIBLE_CORE_COUNT]
|
||||
[--boot-disk-kms-key=BOOT_DISK_KMS_KEY
|
||||
|
|
@ -457,6 +459,22 @@ OPTIONAL FLAGS
|
|||
available machine types, run 'gcloud compute machine-types list'. If
|
||||
unspecified, the default type is n1-standard-1.
|
||||
|
||||
--max-run-duration=MAX_RUN_DURATION
|
||||
Limits how long this VM instance can run, specified as a duration
|
||||
relative to the VM instance's most-recent start time. Format the
|
||||
duration, MAX_RUN_DURATION, similar to "T1h2m3s" where you can specify
|
||||
the number of hours, minutes, and seconds using "h", "m", and "s"
|
||||
respectively. Alternatively, to specify a timestamp, use
|
||||
--termination-time instead.
|
||||
|
||||
If neither --max-run-duration nor --termination-time is specified
|
||||
(default), the VM instance runs until prompted by a user action or
|
||||
system event. If either is specified, the VM instance will be
|
||||
terminated using the action specified by --instance-termination-action.
|
||||
For --max-run-duration, the VM instance is terminated whenever the VM's
|
||||
current runtime reaches MAX_RUN_DURATION; the current runtime is reset
|
||||
to zero any time the VM instance is stopped and started again.
|
||||
|
||||
--metadata=KEY=VALUE,[KEY=VALUE,...]
|
||||
Metadata to be made available to the guest operating system running on
|
||||
the instances. Each metadata entry is a key/value pair separated by an
|
||||
|
|
@ -656,6 +674,18 @@ OPTIONAL FLAGS
|
|||
|
||||
$ gcloud compute instances list --filter='tags:tag1'
|
||||
|
||||
--termination-time=TERMINATION_TIME
|
||||
Limits how long this VM instance can run, specified as a time. Format
|
||||
the time, TERMINATION_TIME, as a RFC 3339 timestamp. Alternatively, to
|
||||
specify a duration, use --max-run-duration instead.
|
||||
|
||||
If neither --termination-time nor --max-run-duration is specified
|
||||
(default) the VM instance runs until prompted by a user action or
|
||||
system event. If either is specified, the VM instance will be
|
||||
terminated using the action specified by --instance-termination-action.
|
||||
For --termination-time, the VM instance is terminated only during the
|
||||
specified time.
|
||||
|
||||
--threads-per-core=THREADS_PER_CORE
|
||||
The number of visible threads per physical core. To disable
|
||||
simultaneous multithreading (SMT) set this to 1. Valid values are: 1 or
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue