mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-18 14:56:05 +00:00
gcloud: Wed Aug 31 09:34:57 UTC 2022
This commit is contained in:
parent
978ed239f6
commit
6749f65ca2
159 changed files with 2919 additions and 561 deletions
|
|
@ -155,10 +155,10 @@ OPTIONAL FLAGS
|
|||
The size of the local SSD in base-2 GB.
|
||||
|
||||
--machine-type=MACHINE_TYPE
|
||||
The type of machine (name only) which has a fixed number of vCPUs
|
||||
and a fixed amount of memory. This also includes specifying
|
||||
custom machine type following
|
||||
custom-number_of_CPUs-amount_of_memory pattern, e.g.
|
||||
The type of machine (name only) that has a fixed number of vCPUs
|
||||
and a fixed amount of memory. You can also specify a custom
|
||||
machine type by using the pattern
|
||||
custom-number_of_CPUs-amount_of_memory-for example,
|
||||
custom-32-29440.
|
||||
|
||||
--maintenance-interval=MAINTENANCE_INTERVAL
|
||||
|
|
|
|||
|
|
@ -103,9 +103,8 @@ OPTIONAL FLAGS
|
|||
|
||||
--direction=DIRECTION
|
||||
If direction is NOT specified, then default is to apply on incoming
|
||||
traffic. For incoming traffic, it is NOT supported to specify
|
||||
destination-ranges; For outbound traffic, it is NOT supported to
|
||||
specify source-ranges or source-tags.
|
||||
traffic. For outbound traffic, it is NOT supported to specify
|
||||
source-tags.
|
||||
|
||||
For convenience, 'IN' can be used to represent ingress direction and
|
||||
'OUT' can be used to represent egress direction.
|
||||
|
|
|
|||
|
|
@ -4,11 +4,11 @@ NAME
|
|||
|
||||
SYNOPSIS
|
||||
gcloud beta compute reservations create RESERVATION
|
||||
(--machine-type=MACHINE_TYPE --vm-count=VM_COUNT
|
||||
(--vm-count=VM_COUNT ([--machine-type=MACHINE_TYPE
|
||||
: --accelerator=[count=COUNT],[type=TYPE]
|
||||
--local-ssd=[interface=INTERFACE],[size=SIZE]
|
||||
--min-cpu-platform=MIN_CPU_PLATFORM
|
||||
--require-specific-reservation --resource-policies=[KEY=VALUE,...])
|
||||
--min-cpu-platform=MIN_CPU_PLATFORM])
|
||||
: --require-specific-reservation --resource-policies=[KEY=VALUE,...])
|
||||
[--description=DESCRIPTION] [--zone=ZONE]
|
||||
[--share-setting=SHARE_SETTING
|
||||
--share-with=SHARE_WITH,[SHARE_WITH,...]] [GCLOUD_WIDE_FLAG ...]
|
||||
|
|
@ -28,19 +28,10 @@ POSITIONAL ARGUMENTS
|
|||
Name of the reservation to create.
|
||||
|
||||
REQUIRED FLAGS
|
||||
Manage the specific SKU reservation properties.
|
||||
Manage the SpecificSKU reservation properties.
|
||||
|
||||
This must be specified.
|
||||
|
||||
--machine-type=MACHINE_TYPE
|
||||
The type of machine (name only) which has a fixed number of vCPUs and
|
||||
a fixed amount of memory. This also includes specifying custom
|
||||
machine type following custom-number_of_CPUs-amount_of_memory
|
||||
pattern, e.g. custom-32-29440.
|
||||
|
||||
This flag argument must be specified if any of the other arguments in
|
||||
this group are specified.
|
||||
|
||||
--vm-count=VM_COUNT
|
||||
The number of VM instances that are allocated to this reservation.
|
||||
The value of this field must be an int in the range [1, 1000].
|
||||
|
|
@ -48,33 +39,6 @@ REQUIRED FLAGS
|
|||
This flag argument must be specified if any of the other arguments in
|
||||
this group are specified.
|
||||
|
||||
--accelerator=[count=COUNT],[type=TYPE]
|
||||
Manage the configuration of the type and number of accelerator cards
|
||||
attached.
|
||||
count
|
||||
The number of accelerators to attach to each instance in the
|
||||
reservation.
|
||||
type
|
||||
The specific type (e.g. nvidia-tesla-k80 for nVidia Tesla K80) of
|
||||
accelerator to attach to instances in the reservation. Use gcloud
|
||||
compute accelerator-types list to learn about all available
|
||||
accelerator types.
|
||||
|
||||
--local-ssd=[interface=INTERFACE],[size=SIZE]
|
||||
Manage the size and the interface of local SSD to use. See
|
||||
https://cloud.google.com/compute/docs/disks/local-ssd for more
|
||||
information.
|
||||
interface
|
||||
The kind of disk interface exposed to the VM for this SSD. Valid
|
||||
values are scsi and nvme. SCSI is the default and is supported by
|
||||
more guest operating systems. NVME may provide higher
|
||||
performance.
|
||||
size
|
||||
The size of the local SSD in base-2 GB.
|
||||
|
||||
--min-cpu-platform=MIN_CPU_PLATFORM
|
||||
Optional minimum CPU platform of the reservation to create.
|
||||
|
||||
--require-specific-reservation
|
||||
Indicates whether the reservation can be consumed by VMs with "any
|
||||
reservation" defined. If enabled, then only VMs that target this
|
||||
|
|
@ -85,6 +49,50 @@ REQUIRED FLAGS
|
|||
Specify if this is reservation with resource policy. If you omit this
|
||||
flag, no resource policy will be added to this reservation.
|
||||
|
||||
Manage the instance properties for the SpecificSKU reservation.
|
||||
|
||||
This must be specified.
|
||||
|
||||
Define the individual instance properties for the SpecificSKU
|
||||
reservation.
|
||||
|
||||
--machine-type=MACHINE_TYPE
|
||||
The type of machine (name only) that has a fixed number of vCPUs
|
||||
and a fixed amount of memory. You can also specify a custom
|
||||
machine type by using the pattern
|
||||
custom-number_of_CPUs-amount_of_memory-for example,
|
||||
custom-32-29440.
|
||||
|
||||
This flag argument must be specified if any of the other
|
||||
arguments in this group are specified.
|
||||
|
||||
--accelerator=[count=COUNT],[type=TYPE]
|
||||
Manage the configuration of the type and number of accelerator
|
||||
cards attached.
|
||||
count
|
||||
The number of accelerators to attach to each instance in the
|
||||
reservation.
|
||||
type
|
||||
The specific type (e.g. nvidia-tesla-k80 for nVidia Tesla
|
||||
K80) of accelerator to attach to instances in the
|
||||
reservation. Use gcloud compute accelerator-types list to
|
||||
learn about all available accelerator types.
|
||||
|
||||
--local-ssd=[interface=INTERFACE],[size=SIZE]
|
||||
Manage the size and the interface of local SSD to use. See
|
||||
https://cloud.google.com/compute/docs/disks/local-ssd for more
|
||||
information.
|
||||
interface
|
||||
The kind of disk interface exposed to the VM for this SSD.
|
||||
Valid values are scsi and nvme. SCSI is the default and is
|
||||
supported by more guest operating systems. NVME may provide
|
||||
higher performance.
|
||||
size
|
||||
The size of the local SSD in base-2 GB.
|
||||
|
||||
--min-cpu-platform=MIN_CPU_PLATFORM
|
||||
Optional minimum CPU platform of the reservation to create.
|
||||
|
||||
OPTIONAL FLAGS
|
||||
--description=DESCRIPTION
|
||||
An optional description of the reservation to create.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue