WorkstationConfigPersistentDirectoryGcePdArgs

data class WorkstationConfigPersistentDirectoryGcePdArgs(val diskType: Output<String>? = null, val fsType: Output<String>? = null, val reclaimPolicy: Output<String>? = null, val sizeGb: Output<Int>? = null, val sourceSnapshot: Output<String>? = null) : ConvertibleToJava<WorkstationConfigPersistentDirectoryGcePdArgs>

Constructors

constructor(diskType: Output<String>? = null, fsType: Output<String>? = null, reclaimPolicy: Output<String>? = null, sizeGb: Output<Int>? = null, sourceSnapshot: Output<String>? = null)

Properties

Link copied to clipboard
val diskType: Output<String>? = null

The type of the persistent disk for the home directory. Defaults to pd-standard.

Link copied to clipboard
val fsType: Output<String>? = null

Type of file system that the disk should be formatted with. The workstation image must support this file system type. Must be empty if sourceSnapshot is set. Defaults to ext4.

Link copied to clipboard
val reclaimPolicy: Output<String>? = null

Whether the persistent disk should be deleted when the workstation is deleted. Valid values are DELETE and RETAIN. Defaults to DELETE. Possible values are: DELETE, RETAIN.

Link copied to clipboard
val sizeGb: Output<Int>? = null

The GB capacity of a persistent home directory for each workstation created with this configuration. Must be empty if sourceSnapshot is set. Valid values are 10, 50, 100, 200, 500, or 1000. Defaults to 200. If less than 200 GB, the diskType must be pd-balanced or pd-ssd.

Link copied to clipboard
val sourceSnapshot: Output<String>? = null

Name of the snapshot to use as the source for the disk. This can be the snapshot's self_link, id, or a string in the format of projects/{project}/global/snapshots/{snapshot}. If set, sizeGb and fsType must be empty. Can only be updated if it has an existing value.

Functions

Link copied to clipboard
open override fun toJava(): WorkstationConfigPersistentDirectoryGcePdArgs