mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-18 14:56:05 +00:00
gcloud: Wed Jun 12 09:25:04 UTC 2024
This commit is contained in:
parent
40ba53d37f
commit
04a1e3ce77
205 changed files with 8281 additions and 231 deletions
|
|
@ -4,7 +4,8 @@ NAME
|
|||
|
||||
SYNOPSIS
|
||||
gcloud alpha workstations configs create
|
||||
(CONFIG : --cluster=CLUSTER --region=REGION) [--async]
|
||||
(CONFIG : --cluster=CLUSTER --region=REGION)
|
||||
[--allowed-ports=[ALLOWED_PORTS,...]] [--async]
|
||||
[--boost-config=[BOOST_CONFIG,...]]
|
||||
[--boot-disk-size=BOOT_DISK_SIZE; default=50]
|
||||
[--container-args=[CONTAINER_ARGS,...]]
|
||||
|
|
@ -101,6 +102,39 @@ POSITIONAL ARGUMENTS
|
|||
▸ set the property workstations/region.
|
||||
|
||||
FLAGS
|
||||
--allowed-ports=[ALLOWED_PORTS,...]
|
||||
A Single or Range of ports externally accessible in the workstation. If
|
||||
not specified defaults to ports 22, 80 and ports 1024-65535.
|
||||
|
||||
To specify a single port, both first and last should be same.
|
||||
|
||||
Example:
|
||||
|
||||
$ gcloud alpha workstations configs create \
|
||||
--allowed-ports=first=9000,last=9090
|
||||
$ gcloud alpha workstations configs create \
|
||||
--allowed-ports=first=80,last=80
|
||||
|
||||
Sets allowed_ports value.
|
||||
|
||||
first
|
||||
Required, Sets first value.
|
||||
|
||||
last
|
||||
Required, Sets last value.
|
||||
|
||||
Shorthand Example:
|
||||
|
||||
--allowed-ports=first=int,last=int
|
||||
|
||||
JSON Example:
|
||||
|
||||
--allowed-ports='{"first": int, "last": int}'
|
||||
|
||||
File Example:
|
||||
|
||||
--allowed-ports=path_to_file.(yaml|json)
|
||||
|
||||
--async
|
||||
Return immediately, without waiting for the operation in progress to
|
||||
complete.
|
||||
|
|
@ -108,7 +142,8 @@ FLAGS
|
|||
--boost-config=[BOOST_CONFIG,...]
|
||||
Boost Configuration(s) that workstations running with this
|
||||
configuration can boost up to. This includes id (required),
|
||||
machine-type, accelerator-type, and accelerator-count.
|
||||
machine-type, accelerator-type, accelerator-count, pool-size,
|
||||
boot-disk-size, and enable-nested-virtualization.
|
||||
|
||||
Example:
|
||||
|
||||
|
|
@ -124,19 +159,28 @@ FLAGS
|
|||
accelerator-type
|
||||
Sets accelerator-type value.
|
||||
|
||||
boot-disk-size
|
||||
Sets boot-disk-size value.
|
||||
|
||||
enable-nested-virtualization
|
||||
Sets enable-nested-virtualization value.
|
||||
|
||||
id
|
||||
Required, Sets id value.
|
||||
|
||||
machine-type
|
||||
Sets machine-type value.
|
||||
|
||||
pool-size
|
||||
Sets pool-size value.
|
||||
|
||||
Shorthand Example:
|
||||
|
||||
--boost-config=accelerator-count=int,accelerator-type=string,id=string,machine-type=string
|
||||
--boost-config=accelerator-count=int,accelerator-type=string,boot-disk-size=int,enable-nested-virtualization=boolean,id=string,machine-type=string,pool-size=int
|
||||
|
||||
JSON Example:
|
||||
|
||||
--boost-config='{"accelerator-count": int, "accelerator-type": "string", "id": "string", "machine-type": "string"}'
|
||||
--boost-config='{"accelerator-count": int, "accelerator-type": "string", "boot-disk-size": int, "enable-nested-virtualization": boolean, "id": "string", "machine-type": "string", "pool-size": int}'
|
||||
|
||||
File Example:
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue