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

Type of the disk to use. 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. Must be empty if sourceImage is set. Must be empty if read_only is false. Updating source_snapshot will update content in the ephemeral directory after the workstation is restarted.

Functions

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