EcsLaunchTemplateDataDiskArgs

data class EcsLaunchTemplateDataDiskArgs(val category: Output<String>? = null, val deleteWithInstance: Output<Boolean>? = null, val description: 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<EcsLaunchTemplateDataDiskArgs>

Constructors

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

Functions

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

Properties

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

The category of the system disk. System disk type. Valid values: all, cloud, ephemeral_ssd, cloud_essd, cloud_efficiency, cloud_ssd, local_disk.

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

Specifies whether to release the system disk when the instance is released. Default to true.

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

Description of instance launch template version 1. It can be 2, 256 characters in length. It cannot start with "http://" or "https://". The default value is null.

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

Encrypted the data in this disk.

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

It has been deprecated from version 1.120.0, and use field launch_template_name instead.

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

The performance level of the ESSD used as the system disk. Valid Values: PL0, PL1, PL2, and PL3. Default to: PL0.

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

Size of the system disk, measured in GB. Value range: 20, 500.

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.