ScalingConfigurationDataDiskArgs

data class ScalingConfigurationDataDiskArgs(val autoSnapshotPolicyId: Output<String>? = null, 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 kmsKeyId: 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<ScalingConfigurationDataDiskArgs>

Constructors

Link copied to clipboard
constructor(autoSnapshotPolicyId: Output<String>? = null, category: Output<String>? = null, deleteWithInstance: Output<Boolean>? = null, description: Output<String>? = null, device: Output<String>? = null, encrypted: Output<Boolean>? = null, kmsKeyId: 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 autoSnapshotPolicyId: Output<String>? = null

The id of auto snapshot policy for data disk.

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

Category of data disk. The parameter value options are ephemeral_ssd, cloud_efficiency, cloud_ssd , cloud_essd and cloud.

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

Whether to delete data disks attached on ecs when release ecs instance. Optional value: true or false, default to true.

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

The description of data disk N. Valid values of N: 1 to 16. The description must be 2 to 256 characters in length and cannot start with http:// or https://.

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

The mount point of data disk N. Valid values of N: 1 to 16. If this parameter is not specified, the system automatically allocates a mount point to created ECS instances. The name of the mount point ranges from /dev/xvdb to /dev/xvdz in alphabetical order.

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

Specifies whether data disk N is to be encrypted. Valid values of N: 1 to 16. Valid values: true: encrypted, false: not encrypted. Default value: false.

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

The CMK ID for data disk N. Valid values of N: 1 to 16.

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

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

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

The performance level of the ESSD used as data disk.

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

IOPS measures the number of read and write operations that an Elastic Block Storage (EBS) device can process per second.

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

Size of data disk, in GB. The value ranges 5,2000 for a cloud disk, 5,1024 for an ephemeral disk, 5,800 for an ephemeral_ssd disk, 20,32768 for cloud_efficiency, cloud_ssd, cloud_essd disk.

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

Snapshot used for creating the data disk. If this parameter is specified, the size parameter is neglected, and the size of the created disk is the size of the snapshot.

Functions

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