mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-09 10:56:49 +00:00
gcloud: Wed Feb 8 10:13:59 UTC 2023
This commit is contained in:
parent
fc11b54760
commit
11068cb123
240 changed files with 8982 additions and 619 deletions
|
|
@ -22,13 +22,34 @@ DESCRIPTION
|
|||
▪ Use the rolling-action start-update command.
|
||||
▪ Use the API to set the group's updatePolicy.type to PROACTIVE.
|
||||
|
||||
EXAMPLES
|
||||
Running:
|
||||
|
||||
gcloud alpha compute instance-groups managed set-instance-template \
|
||||
example-managed-instance-group --template=example-global-instance-template
|
||||
|
||||
Sets the instance template for the 'example-managed-instance-group' group
|
||||
to a global resource: 'example-global-instance-template'.
|
||||
|
||||
To use a regional instance template, specify its full URL.
|
||||
|
||||
Running:
|
||||
|
||||
gcloud alpha compute instance-groups managed set-instance-template \
|
||||
example-managed-instance-group \
|
||||
--template=https://www.googleapis.com/compute/alpha/projects/example-project/regions/us-central1/instanceTemplates/example-regional-instance-template
|
||||
|
||||
Sets the instance template for the 'example-managed-instance-group' group
|
||||
to a regional resource: 'example-regional-instance-template'.
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
NAME
|
||||
Name of the managed instance group to operate on.
|
||||
|
||||
REQUIRED FLAGS
|
||||
--template=TEMPLATE
|
||||
Compute Engine instance template resource to be used.
|
||||
Specifies the instance template to use when creating new instances. An
|
||||
instance template is either a global or regional resource.
|
||||
|
||||
OPTIONAL FLAGS
|
||||
At most one of these can be specified:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue