mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-16 12:22:03 +00:00
gcloud: Wed Aug 7 09:49:06 UTC 2024
This commit is contained in:
parent
ed2f818f7a
commit
7fe34c472b
98 changed files with 1867 additions and 220 deletions
|
|
@ -6,6 +6,7 @@ SYNOPSIS
|
|||
gcloud compute instance-templates create-with-container NAME
|
||||
[--no-boot-disk-auto-delete]
|
||||
[--boot-disk-device-name=BOOT_DISK_DEVICE_NAME]
|
||||
[--boot-disk-interface=BOOT_DISK_INTERFACE]
|
||||
[--boot-disk-provisioned-iops=BOOT_DISK_PROVISIONED_IOPS]
|
||||
[--boot-disk-provisioned-throughput=BOOT_DISK_PROVISIONED_THROUGHPUT]
|
||||
[--boot-disk-size=BOOT_DISK_SIZE] [--boot-disk-type=BOOT_DISK_TYPE]
|
||||
|
|
@ -23,8 +24,8 @@ SYNOPSIS
|
|||
[--container-restart-policy=POLICY; default="always"]
|
||||
[--container-stdin] [--container-tty]
|
||||
[--create-disk=[PROPERTY=VALUE,...]] [--description=DESCRIPTION]
|
||||
[--disk=[auto-delete=AUTO-DELETE],
|
||||
[boot=BOOT],[device-name=DEVICE-NAME],[mode=MODE],[name=NAME]]
|
||||
[--disk=[auto-delete=AUTO-DELETE],[boot=BOOT],[device-name=DEVICE-NAME],
|
||||
[interface=INTERFACE],[mode=MODE],[name=NAME]]
|
||||
[--external-ipv6-address=EXTERNAL_IPV6_ADDRESS]
|
||||
[--external-ipv6-prefix-length=EXTERNAL_IPV6_PREFIX_LENGTH]
|
||||
[--internal-ipv6-address=INTERNAL_IPV6_ADDRESS]
|
||||
|
|
@ -96,6 +97,12 @@ FLAGS
|
|||
option can only be specified if a new boot disk is being created (as
|
||||
opposed to mounting an existing persistent disk).
|
||||
|
||||
--boot-disk-interface=BOOT_DISK_INTERFACE
|
||||
Indicates the interface to use for the boot disk. The value must be one
|
||||
of the following:
|
||||
◆ SCSI
|
||||
◆ NVME
|
||||
|
||||
--boot-disk-provisioned-iops=BOOT_DISK_PROVISIONED_IOPS
|
||||
Indicates how many IOPS to provision for the disk. This sets the number
|
||||
of I/O operations per second that the disk can handle. Value must be
|
||||
|
|
@ -344,6 +351,12 @@ FLAGS
|
|||
The name of the storage pool in which the new disk is created. The
|
||||
new disk and the storage pool must be in the same location.
|
||||
|
||||
interface
|
||||
The interface to use with the disk. The value must be one of the
|
||||
following:
|
||||
▸ SCSI
|
||||
▸ NVME
|
||||
|
||||
replica-zones
|
||||
Required for each regional disk associated with the instance.
|
||||
Specify the URLs of the zones where the disk should be replicated
|
||||
|
|
@ -353,15 +366,15 @@ FLAGS
|
|||
--description=DESCRIPTION
|
||||
Specifies a textual description for the instance template.
|
||||
|
||||
--disk=[auto-delete=AUTO-DELETE],[boot=BOOT],[device-name=DEVICE-NAME],[mode=MODE],[name=NAME]
|
||||
Attaches an existing persistent disk to the instances.
|
||||
--disk=[auto-delete=AUTO-DELETE],[boot=BOOT],[device-name=DEVICE-NAME],[interface=INTERFACE],[mode=MODE],[name=NAME]
|
||||
Attaches an existing disk to the instances.
|
||||
|
||||
name
|
||||
The disk to attach to the instances. If you create more than one
|
||||
instance, you can only attach a disk in read-only mode. By default,
|
||||
you attach a zonal persistent disk located in the same zone of the
|
||||
instance. If you want to attach a regional persistent disk, you
|
||||
must specify the disk using its URI; for example,
|
||||
you attach a zonal disk located in the same zone of the instance.
|
||||
If you want to attach a regional disk, you must specify the disk
|
||||
using its URI; for example,
|
||||
projects/myproject/regions/us-central1/disks/my-regional-disk.
|
||||
|
||||
mode
|
||||
|
|
@ -388,7 +401,13 @@ FLAGS
|
|||
If set to yes, the persistent disk is automatically deleted when
|
||||
the instance is deleted. However, if you detach the disk from the
|
||||
instance, deleting the instance doesn't delete the disk. The
|
||||
default value for this is yes.
|
||||
default value is yes.
|
||||
|
||||
interface
|
||||
The interface to use for the disk. The value must be one of the
|
||||
following:
|
||||
▸ SCSI
|
||||
▸ NVME
|
||||
|
||||
--external-ipv6-address=EXTERNAL_IPV6_ADDRESS
|
||||
Assigns the given external IPv6 address to the instance that is
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue