mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-18 06:47:12 +00:00
gcloud: Wed Feb 1 11:38:52 UTC 2023
This commit is contained in:
parent
6dc17bdd4a
commit
fc11b54760
173 changed files with 5650 additions and 253 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-count-per-zone=[ZONE=MAX_COUNT_PER_ZONE,...]]
|
||||
[--max-run-duration=MAX_RUN_DURATION]
|
||||
[--metadata=KEY=VALUE,[KEY=VALUE,...]]
|
||||
[--metadata-from-file=KEY=LOCAL_FILE_PATH,[...]]
|
||||
|
|
@ -458,8 +459,8 @@ OPTIONAL FLAGS
|
|||
Policy for which zones to include or exclude during bulk instance
|
||||
creation within a region. Policy is defined as a list of key-value
|
||||
pairs, with the key being the zone name, and value being the applied
|
||||
policy. Available policies are allow and deny. Default for zones left
|
||||
unspecified is allow.
|
||||
policy. Available policies are allow and deny. Default for zones if
|
||||
left unspecified is allow.
|
||||
|
||||
Example:
|
||||
|
||||
|
|
@ -472,6 +473,17 @@ OPTIONAL FLAGS
|
|||
available machine types, run 'gcloud compute machine-types list'. If
|
||||
unspecified, the default type is n1-standard-1.
|
||||
|
||||
--max-count-per-zone=[ZONE=MAX_COUNT_PER_ZONE,...]
|
||||
Maximum number of instances per zone specified as key-value pairs. The
|
||||
zone name is the key and the max count per zone is the value in that
|
||||
zone.
|
||||
|
||||
Example:
|
||||
|
||||
gcloud compute instances bulk create --name-pattern=example-###
|
||||
--count=5 --region=us-east1
|
||||
--max-count-per-zone=us-east1-b=2,us-east-1-c=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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue