GceRegionalPersistentDisk
import type { GceRegionalPersistentDisk } from "https://googleapis.deno.dev/v1/workstations:v1.ts";
A Persistent Directory backed by a Compute Engine regional persistent disk.
The persistent_directories field is repeated, but it may contain only one
entry. It creates a persistent
disk that
mounts to the workstation VM at /home
when the session starts and detaches
when the session ends. If this field is empty, workstations created with this
configuration do not have a persistent home directory.
§Properties
Optional. The type of the persistent
disk for the home
directory. Defaults to "pd-standard"
.
Optional. Type of file system that the disk should be formatted with. The
workstation image must support this file system type. Must be empty if
source_snapshot is set. Defaults to "ext4"
.
Optional. Whether the persistent disk should be deleted when the
workstation is deleted. Valid values are DELETE
and RETAIN
. Defaults to
DELETE
.
Optional. The GB capacity of a persistent home directory for each
workstation created with this configuration. Must be empty if
source_snapshot is set. Valid values are 10
, 50
, 100
, 200
, 500
,
or 1000
. Defaults to 200
. If less than 200
GB, the disk_type must be
"pd-balanced"
or "pd-ssd"
.