EcsLaunchTemplateDataDisk

data class EcsLaunchTemplateDataDisk(val category: String? = null, val deleteWithInstance: Boolean? = null, val description: String? = null, val encrypted: Boolean? = null, val name: String? = null, val performanceLevel: String? = null, val size: Int? = null, val snapshotId: String? = null)

Constructors

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

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val category: 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

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

Link copied to clipboard
val description: 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: Boolean? = null

Encrypted the data in this disk.

Link copied to clipboard
val name: String? = null

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

Link copied to clipboard

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: Int? = null

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

Link copied to clipboard
val snapshotId: 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.