1
0
Fork 0
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:
Automated 2024-08-07 09:49:06 +00:00
parent ed2f818f7a
commit 7fe34c472b
98 changed files with 1867 additions and 220 deletions

View file

@ -6,14 +6,15 @@ SYNOPSIS
gcloud alpha compute instance-templates create NAME
[--accelerator=[count=COUNT],[type=TYPE]] [--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]
[--can-ip-forward] [--configure-disk=[PROPERTY=VALUE,...]]
[--create-disk=[PROPERTY=VALUE,...]] [--description=DESCRIPTION]
[--discard-local-ssds-at-termination-timestamp=DISCARD_LOCAL_SSDS_AT_TERMINATION_TIMESTAMP]
[--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]]
[--[no-]enable-nested-virtualization] [--[no-]enable-uefi-networking]
[--enable-watchdog-timer]
[--external-ipv6-address=EXTERNAL_IPV6_ADDRESS]
@ -126,6 +127,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
@ -274,6 +281,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
boot
If yes, indicates that this is a boot disk. The instance will use
the first partition of the disk for its root file system. The
@ -371,15 +384,15 @@ FLAGS
For more information about the --discard-local-ssd flag, see
https://cloud.google.com/compute/docs/disks/local-ssd#stop_instance.
--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
@ -402,7 +415,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
--[no-]enable-nested-virtualization
If set to true, enables nested virtualization for the instance. Use

View file

@ -7,6 +7,7 @@ SYNOPSIS
gcloud alpha compute instance-templates create-with-container NAME
[--accelerator=[count=COUNT],[type=TYPE]] [--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]
@ -24,8 +25,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]
@ -116,6 +117,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
@ -364,6 +371,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
multi-writer
If yes, the disk is created in multi-writer mode so that it can be
attached with read-write access to two VMs. The default value is
@ -391,15 +404,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
@ -426,7 +439,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