NodePoolDataDisk

data class NodePoolDataDisk(val autoSnapshotPolicyId: String? = null, val category: String? = null, val device: String? = null, val encrypted: String? = null, val kmsKeyId: String? = null, val name: String? = null, val performanceLevel: String? = null, val size: Int? = null, val snapshotId: String? = null)

Constructors

Link copied to clipboard
fun NodePoolDataDisk(autoSnapshotPolicyId: String? = null, category: String? = null, device: String? = null, encrypted: String? = null, kmsKeyId: String? = 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

The ID of the automatic snapshot policy that you want to apply to the system disk.

Link copied to clipboard
val category: String? = null

The type of the data disks. Valid values:cloud, cloud_efficiency, cloud_ssd and cloud_essd.

Link copied to clipboard
val device: String? = null

The mount target of data disk N. Valid values of N: 1 to 16. If you do not specify this parameter, the system automatically assigns a mount target when Auto Scaling creates ECS instances. The name of the mount target ranges from /dev/xvdb to /dev/xvdz.

Link copied to clipboard
val encrypted: String? = null

Specifies whether to encrypt data disks. Valid values: true and false. Default to false.

Link copied to clipboard
val kmsKeyId: String? = null

The kms key id used to encrypt the data disk. It takes effect when encrypted is true.

Link copied to clipboard
val name: String? = null

The name of data disk N. Valid values of N: 1 to 16. The name must be 2 to 128 characters in length, and can contain letters, digits, colons (:), underscores (_), and hyphens (-). The name must start with a letter but cannot start with http:// or https://.

Link copied to clipboard

Worker node data disk performance level, when category values cloud_essd, the optional values are PL0, PL1, PL2 or PL3, but the specific performance level is related to the disk capacity. For more information, see Enhanced SSDs. Default is PL1.

Link copied to clipboard
val size: Int? = null

The size of a data disk, Its valid value range 40~32768 in GB. Default to 40.

Link copied to clipboard
val snapshotId: String? = null

The ID of the snapshot that you want to use to create data disk N. Valid values of N: 1 to 16. If you specify this parameter, DataDisk.N.Size is ignored. The size of the disk is the same as the size of the specified snapshot. If you specify a snapshot that is created on or before July 15, 2013, the operation fails and InvalidSnapshot.TooOld is returned.