AttachedDiskArgs

data class AttachedDiskArgs(val mode: Output<AttachedDiskMode>? = null, val sourceDisk: Output<String>? = null) : ConvertibleToJava<AttachedDiskArgs>

A node-attached disk resource. Next ID: 8;

Constructors

Link copied to clipboard
fun AttachedDiskArgs(mode: Output<AttachedDiskMode>? = null, sourceDisk: Output<String>? = null)

Functions

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

Properties

Link copied to clipboard
val mode: Output<AttachedDiskMode>? = null

The mode in which to attach this disk. If not specified, the default is READ_WRITE mode. Only applicable to data_disks.

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

Specifies the full path to an existing disk. For example: "projects/my-project/zones/us-central1-c/disks/my-disk".