1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-08 10:35:03 +00:00

gcloud: Wed Jan 31 10:36:17 UTC 2024

This commit is contained in:
Automated 2024-01-31 10:36:17 +00:00
parent 7a546ffea4
commit fa6c1dc7ec
142 changed files with 1981 additions and 793 deletions

View file

@ -226,9 +226,9 @@ FLAGS
pd-standard.
device-name
An optional name that indicates the disk name the guest operating
system will see. If omitted, a device name of the form
persistent-disk-N will be used.
An optional name to display the disk name in the guest operating
system. If omitted, a device name of the form persistent-disk-N is
used.
provisioned-iops
Indicates how many IOPS to provision for the disk. This sets the
@ -333,36 +333,37 @@ FLAGS
Specifies a textual description for the instance template.
--disk=[auto-delete=AUTO-DELETE],[boot=BOOT],[device-name=DEVICE-NAME],[mode=MODE],[name=NAME]
Attaches persistent disks to the instances. The disks specified must
already exist.
Attaches an existing persistent disk to the instances.
name
The disk to attach to the instances. When creating more than one
instance and using this property, the only valid mode for attaching
the disk is read-only (see mode below).
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,
projects/myproject/regions/us-central1/disks/my-regional-disk.
mode
Specifies the mode of the disk. Supported options are ro for
read-only and rw for read-write. If omitted, rw is used as a
default. It is an error for mode to be rw when creating more than
one instance because read-write disks can only be attached to a
single instance.
The mode of the disk. Supported options are ro for read-only mode
and rw for read-write mode. If omitted, rw is used as a default
value. If you use rw when creating more than one instance, you
encounter errors.
boot
If yes, indicates that this is a boot disk. The virtual machines
will use the first partition of the disk for their root file
systems. The default value for this is no.
If set to yes, you attach a boot disk. The virtual machine then
uses the first partition of the disk for the root file systems. The
default value for this is no.
device-name
An optional name that indicates the disk name the guest operating
system will see. If omitted, a device name of the form
persistent-disk-N will be used.
An optional name to display the disk name in the guest operating
system. If omitted, a device name of the form persistent-disk-N is
used.
auto-delete
If yes, this persistent disk will be automatically deleted when the
instance is deleted. However, if the disk is later detached from
the instance, this option won't apply. The default value for this
is yes.
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.
--[no-]enable-nested-virtualization
If set to true, enables nested virtualization for the instance. Use

View file

@ -311,13 +311,13 @@ FLAGS
pd-standard.
device-name
An optional name that indicates the disk name the guest operating
system will see. Must be the same as name if used with
An optional name to display the disk name in the guest operating
system. Must be the same as name if used with
--container-mount-disk. If omitted, a device name of the form
persistent-disk-N will be used. If omitted and used with
persistent-disk-N is used. If omitted and used with
--container-mount-disk (where the name of the container mount disk
is the same as in this flag), a device name equal to disk name will
be used.
is the same as in this flag), a device name equal to disk name is
used.
provisioned-iops
Indicates how many IOPS to provision for the disk. This sets the
@ -366,40 +366,41 @@ FLAGS
Specifies a textual description for the instance template.
--disk=[auto-delete=AUTO-DELETE],[boot=BOOT],[device-name=DEVICE-NAME],[mode=MODE],[name=NAME]
Attaches persistent disks to the instances. The disks specified must
already exist.
Attaches an existing persistent disk to the instances.
name
The disk to attach to the instances. When creating more than one
instance and using this property, the only valid mode for attaching
the disk is read-only (see mode below).
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,
projects/myproject/regions/us-central1/disks/my-regional-disk.
mode
Specifies the mode of the disk. Supported options are ro for
read-only and rw for read-write. If omitted, rw is used as a
default. It is an error for mode to be rw when creating more than
one instance because read-write disks can only be attached to a
single instance.
The mode of the disk. Supported options are ro for read-only mode
and rw for read-write mode. If omitted, rw is used as a default
value. If you use rw when creating more than one instance, you
encounter errors.
boot
If yes, indicates that this is a boot disk. The virtual machines
will use the first partition of the disk for their root file
systems. The default value for this is no.
If set to yes, you attach a boot disk. The virtual machine then
uses the first partition of the disk for the root file systems. The
default value for this is no.
device-name
An optional name that indicates the disk name the guest operating
system will see. Must be the same as name if used with
An optional name to display the disk name in the guest operating
system. Must be the same as name if used with
--container-mount-disk. If omitted, a device name of the form
persistent-disk-N will be used. If omitted and used with
persistent-disk-N is used. If omitted and used with
--container-mount-disk (where the name of the container mount disk
is the same as in this flag), a device name equal to disk name will
be used.
is the same as in this flag), a device name equal to disk name is
used.
auto-delete
If yes, this persistent disk will be automatically deleted when the
instance is deleted. However, if the disk is later detached from
the instance, this option won't apply. The default value for this
is yes.
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.
--external-ipv6-address=EXTERNAL_IPV6_ADDRESS
Assigns the given external IPv6 address to the instance that is