EcsInstanceSetDataDisk

data class EcsInstanceSetDataDisk(val autoSnapshotPolicyId: String? = null, val diskCategory: String? = null, val diskDescription: String? = null, val diskName: String? = null, val diskSize: Int, val encrypted: Boolean? = null, val kmsKeyId: String? = null, val performanceLevel: String? = null, val snapshotId: String? = null)

Constructors

Link copied to clipboard
constructor(autoSnapshotPolicyId: String? = null, diskCategory: String? = null, diskDescription: String? = null, diskName: String? = null, diskSize: Int, encrypted: Boolean? = null, kmsKeyId: String? = null, performanceLevel: String? = null, snapshotId: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The ID of the automatic snapshot policy applied to the system disk.

Link copied to clipboard
val diskCategory: String? = null

The category of the disk. Valid values: cloud_efficiency, cloud_ssd, cloud_essd, cloud.

Link copied to clipboard
val diskDescription: String? = null

The description of the data disk.

Link copied to clipboard
val diskName: String? = null

The name of the data disk.

Link copied to clipboard

The size of the data disk. Unit: GiB.

Link copied to clipboard
val encrypted: Boolean? = null

Encrypted the data in this disk. Default value: false.

Link copied to clipboard
val kmsKeyId: String? = null

The KMS key ID corresponding to the data disk.

Link copied to clipboard

The performance level of the ESSD used as data disk. Valid values: PL0, PL1, PL2, PL3.

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.