WorkstationConfigEphemeralDirectoryGcePdArgs

data class WorkstationConfigEphemeralDirectoryGcePdArgs(val diskType: Output<String>? = null, val readOnly: Output<Boolean>? = null, val sourceImage: Output<String>? = null, val sourceSnapshot: Output<String>? = null) : ConvertibleToJava<WorkstationConfigEphemeralDirectoryGcePdArgs>

Constructors

constructor(diskType: Output<String>? = null, readOnly: Output<Boolean>? = null, sourceImage: Output<String>? = 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 readOnly: Output<Boolean>? = null

Whether the disk is read only. If true, the disk may be shared by multiple VMs and sourceSnapshot must be set.

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

Name of the disk image to use as the source for the disk. Must be empty sourceSnapshot is set. Updating sourceImage will update content in the ephemeral directory after the workstation is restarted.

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(): WorkstationConfigEphemeralDirectoryGcePdArgs