AttachedDiskArgs

data class AttachedDiskArgs(val deviceName: Output<String>? = null, val existingDisk: Output<String>? = null, val newDisk: Output<DiskArgs>? = null) : ConvertibleToJava<AttachedDiskArgs>

A new or an existing persistent disk (PD) or a local ssd attached to a VM instance.

Constructors

Link copied to clipboard
fun AttachedDiskArgs(deviceName: Output<String>? = null, existingDisk: Output<String>? = null, newDisk: Output<DiskArgs>? = null)

Functions

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

Properties

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

Device name that the guest operating system will see. It is used by Runnable.volumes field to mount disks. So please specify the device_name if you want Batch to help mount the disk, and it should match the device_name field in volumes.

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

Name of an existing PD.

Link copied to clipboard
val newDisk: Output<DiskArgs>? = null