1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-08 02:25:19 +00:00

gcloud: Wed Aug 14 09:38:18 UTC 2024

This commit is contained in:
Automated 2024-08-14 09:38:18 +00:00
parent 7fe34c472b
commit d35819d273
105 changed files with 5241 additions and 346 deletions

View file

@ -3,7 +3,8 @@ NAME
SYNOPSIS
gcloud workstations configs create
(CONFIG : --cluster=CLUSTER --region=REGION) [--async]
(CONFIG : --cluster=CLUSTER --region=REGION)
[--allowed-ports=[ALLOWED_PORTS,...]] [--async]
[--boot-disk-size=BOOT_DISK_SIZE; default=50]
[--container-args=[CONTAINER_ARGS,...]]
[--container-command=[CONTAINER_COMMAND,...]]
@ -99,6 +100,38 @@ 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 workstations configs create \
--allowed-ports=first=9000,last=9090
$ gcloud 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.

View file

@ -3,7 +3,8 @@ NAME
SYNOPSIS
gcloud workstations configs update
(CONFIG : --cluster=CLUSTER --region=REGION) [--async]
(CONFIG : --cluster=CLUSTER --region=REGION)
[--allowed-ports=[ALLOWED_PORTS,...]] [--async]
[--boot-disk-size=BOOT_DISK_SIZE]
[--container-args=[CONTAINER_ARGS,...]]
[--container-command=[CONTAINER_COMMAND,...]]
@ -87,6 +88,38 @@ 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 workstations configs update \
--allowed-ports=first=9000,last=9090
$ gcloud workstations configs update --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.