GceRegionalPersistentDiskArgs

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

A PersistentDirectory backed by a Compute Engine regional persistent disk.

Constructors

Link copied to clipboard
fun GceRegionalPersistentDiskArgs(diskType: Output<String>? = null, fsType: Output<String>? = null, reclaimPolicy: Output<GceRegionalPersistentDiskReclaimPolicy>? = null, sizeGb: Output<Int>? = null, sourceSnapshot: Output<String>? = null)

Functions

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

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 source_snapshot is set. Defaults to ext4.

Link copied to clipboard

What should happen to the disk after the workstation is deleted. Defaults to DELETE.

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

Size of the disk in GB. Must be empty if source_snapshot is set. Defaults to 200.

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

Name of the snapshot to use as the source for the disk. If set, size_gb and fs_type must be empty.