NodePoolDataDiskArgs

data class NodePoolDataDiskArgs(val autoFormat: Output<String>? = null, val autoSnapshotPolicyId: Output<String>? = null, val burstingEnabled: Output<Boolean>? = null, val category: Output<String>? = null, val device: Output<String>? = null, val encrypted: Output<String>? = null, val fileSystem: Output<String>? = null, val kmsKeyId: Output<String>? = null, val mountTarget: Output<String>? = null, val name: Output<String>? = null, val performanceLevel: Output<String>? = null, val provisionedIops: Output<Int>? = null, val size: Output<Int>? = null, val snapshotId: Output<String>? = null) : ConvertibleToJava<NodePoolDataDiskArgs>

Constructors

Link copied to clipboard
constructor(autoFormat: Output<String>? = null, autoSnapshotPolicyId: Output<String>? = null, burstingEnabled: Output<Boolean>? = null, category: Output<String>? = null, device: Output<String>? = null, encrypted: Output<String>? = null, fileSystem: Output<String>? = null, kmsKeyId: Output<String>? = null, mountTarget: Output<String>? = null, name: Output<String>? = null, performanceLevel: Output<String>? = null, provisionedIops: Output<Int>? = null, size: Output<Int>? = null, snapshotId: Output<String>? = null)

Properties

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

Whether to automatically mount the data disk. Valid values: true and false.

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

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

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

Whether the data disk is enabled with Burst (performance Burst). This is configured when the disk type is cloud_auto.

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

The type of data disk. Default value: cloud_efficiency. Valid values:

Link copied to clipboard
val device: Output<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: Output<String>? = null

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

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

The type of the mounted file system. Works when auto_format is true. Optional value: ext4, xfs.

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

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

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

The Mount path. Works when auto_format is true.

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

The length is 2~128 English or Chinese characters. It must start with an uppercase or lowr letter or a Chinese character and cannot start with http:// or https. Can contain numbers, colons (:), underscores (_), or dashes (-). It will be overwritten if auto_format is set.

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

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

The read/write IOPS preconfigured for the data disk, which is configured when the disk type is cloud_auto.

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

Functions

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