LaunchTemplateDataDiskArgs

data class LaunchTemplateDataDiskArgs(val category: Output<String>? = null, val deleteWithInstance: Output<Boolean>? = null, val description: Output<String>? = null, val device: Output<String>? = null, val encrypted: Output<Boolean>? = null, val name: Output<String>? = null, val performanceLevel: Output<String>? = null, val size: Output<Int>? = null, val snapshotId: Output<String>? = null) : ConvertibleToJava<LaunchTemplateDataDiskArgs>

Constructors

Link copied to clipboard
constructor(category: Output<String>? = null, deleteWithInstance: Output<Boolean>? = null, description: Output<String>? = null, device: Output<String>? = null, encrypted: Output<Boolean>? = null, name: Output<String>? = null, performanceLevel: Output<String>? = null, size: Output<Int>? = null, snapshotId: Output<String>? = null)

Properties

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

The category of the disk:

Link copied to clipboard
val deleteWithInstance: Output<Boolean>? = null

Delete this data disk when the instance is destroyed. It only works on cloud, cloud_efficiency, cloud_ssd and cloud_essd disk. If the category of this data disk was ephemeral_ssd, please don't set this param. Default to true

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

The description of the data disk.

Link copied to clipboard
val device: Output<String>? = null
Link copied to clipboard
val encrypted: Output<Boolean>? = null

Encrypted the data in this disk. Default to false

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

The name of the data disk.

Link copied to clipboard
val performanceLevel: Output<String>? = null
Link copied to clipboard
val size: Output<Int>? = null

The size of the data disk.

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

The snapshot ID used to initialize the data disk. If the size specified by snapshot is greater that the size of the disk, use the size specified by snapshot as the size of the data disk.

Functions

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