1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-16 12:22:03 +00:00

gcloud: Wed Mar 1 10:23:17 UTC 2023

This commit is contained in:
Automated 2023-03-01 10:23:17 +00:00
parent 7664984b79
commit bdaa0b3cfc
230 changed files with 8963 additions and 242 deletions

View file

@ -34,7 +34,7 @@ SYNOPSIS
[--resource-policies=[RESOURCE_POLICY,...]] [--no-restart-on-failure]
[--shielded-integrity-monitoring] [--shielded-secure-boot]
[--shielded-vtpm] [--source-instance-template=SOURCE_INSTANCE_TEMPLATE]
[--subnet=SUBNET] [--tags=TAG,[TAG,...]]
[--stack-type=STACK_TYPE] [--subnet=SUBNET] [--tags=TAG,[TAG,...]]
[--target-distribution-shape=SHAPE]
[--threads-per-core=THREADS_PER_CORE]
[--visible-core-count=VISIBLE_CORE_COUNT]
@ -625,6 +625,15 @@ OPTIONAL FLAGS
The name of the instance template that the instance will be created
from. Users can override fields by specifying other flags.
--stack-type=STACK_TYPE
Specifies whether IPv6 is enabled on the default network interface. If
not specified, IPV4_ONLY will be used. STACK_TYPE must be one of:
IPV4_IPV6
The network interface can have both IPv4 and IPv6 addresses
IPV4_ONLY
The network interface will be assigned IPv4 addresses
--subnet=SUBNET
Specifies the subnet that the VM instances are a part of. If --network
is also specified, subnet must be a subnetwork of the network specified

View file

@ -91,19 +91,19 @@ EXAMPLES
example-instance-2 example-instance-3 --zone=us-central1-a
To create an instance called 'instance-1' from a source snapshot called
'instance-snapshot' in zone 'us-central2-a' and attached regional disk
'instance-snapshot' in zone 'us-central1-a' and attached regional disk
'disk-1', run:
$ gcloud compute instances create instance-1 \
--source-snapshot=https://compute.googleapis.com/compute/v1/\
projects/myproject/global/snapshots/instance-snapshot \
--zone=central2-a --disk=name=disk1,scope=regional
--zone=us-central1-a --disk=name=disk1,scope=regional
To create an instance called instance-1 as a Shielded VM instance with
Secure Boot, virtual trusted platform module (vTPM) enabled and integrity
monitoring, run:
$ gcloud compute instances create instance-1 --zone=central2-a \
$ gcloud compute instances create instance-1 --zone=us-central1-a \
--shielded-secure-boot --shielded-vtpm \
--shielded-integrity-monitoring