EcsDiskArgs

data class EcsDiskArgs(val advancedFeatures: Output<String>? = null, val availabilityZone: Output<String>? = null, val burstingEnabled: Output<Boolean>? = null, val category: Output<String>? = null, val deleteAutoSnapshot: Output<Boolean>? = null, val deleteWithInstance: Output<Boolean>? = null, val description: Output<String>? = null, val diskName: Output<String>? = null, val dryRun: Output<Boolean>? = null, val enableAutoSnapshot: Output<Boolean>? = null, val encryptAlgorithm: Output<String>? = null, val encrypted: Output<Boolean>? = null, val instanceId: Output<String>? = null, val kmsKeyId: Output<String>? = null, val multiAttach: Output<String>? = null, val name: Output<String>? = null, val paymentType: Output<String>? = null, val performanceLevel: Output<String>? = null, val provisionedIops: Output<Int>? = null, val resourceGroupId: Output<String>? = null, val size: Output<Int>? = null, val snapshotId: Output<String>? = null, val storageSetId: Output<String>? = null, val storageSetPartitionNumber: Output<Int>? = null, val tags: Output<Map<String, String>>? = null, val type: Output<String>? = null, val zoneId: Output<String>? = null) : ConvertibleToJava<EcsDiskArgs>

Import

ECS Disk can be imported using the id, e.g.

$ pulumi import alicloud:ecs/ecsDisk:EcsDisk example <id>

Constructors

Link copied to clipboard
constructor(advancedFeatures: Output<String>? = null, availabilityZone: Output<String>? = null, burstingEnabled: Output<Boolean>? = null, category: Output<String>? = null, deleteAutoSnapshot: Output<Boolean>? = null, deleteWithInstance: Output<Boolean>? = null, description: Output<String>? = null, diskName: Output<String>? = null, dryRun: Output<Boolean>? = null, enableAutoSnapshot: Output<Boolean>? = null, encryptAlgorithm: Output<String>? = null, encrypted: Output<Boolean>? = null, instanceId: Output<String>? = null, kmsKeyId: Output<String>? = null, multiAttach: Output<String>? = null, name: Output<String>? = null, paymentType: Output<String>? = null, performanceLevel: Output<String>? = null, provisionedIops: Output<Int>? = null, resourceGroupId: Output<String>? = null, size: Output<Int>? = null, snapshotId: Output<String>? = null, storageSetId: Output<String>? = null, storageSetPartitionNumber: Output<Int>? = null, tags: Output<Map<String, String>>? = null, type: Output<String>? = null, zoneId: Output<String>? = null)

Properties

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

Field availability_zone has been deprecated from provider version 1.122.0. New field zone_id instead.

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

Specifies whether to enable the performance burst feature. Valid values: true, false. NOTE: bursting_enabled is only valid when category is cloud_auto.

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

The category of the data disk. Default value: cloud_efficiency. Valid Values: cloud, cloud_efficiency, cloud_ssd, cloud_essd, cloud_auto, cloud_essd_entry, elastic_ephemeral_disk_standard, elastic_ephemeral_disk_premium.

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

Specifies whether to delete the automatic snapshots of the disk when the disk is released. Default value: false.

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

Specifies whether to release the disk along with its associated instance. Default value: false.

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

The description of the disk. The description must be 2 to 256 characters in length and cannot start with http:// or https://.

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

The name of the data disk. The name must be 2 to 128 characters in length and can contain letters, digits, colons (:), underscores (_), periods (.), and hyphens (-). The name must start with a letter.

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

Specifies whether to check the validity of the request without actually making the request.request Default value: false. Valid values:

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

Specifies whether to enable the automatic snapshot policy feature for the cloud disk. Valid values: true, false.

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

Specifies whether to encrypt the disk. Default value: false. Valid values:

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

The ID of the instance to which the created subscription disk is automatically attached.

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

The ID of the Key Management Service (KMS) key that is used for the disk. NOTE: kms_key_id is only valid when encrypted is true.

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

Specifies whether to enable the multi-attach feature for the disk. Default value: Disabled. Valid values: Enabled, Disabled. NOTE: Currently, multi_attach can only be set to Enabled when category is set to cloud_essd.

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

Field name has been deprecated from provider version 1.122.0. New field disk_name instead.

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

The payment type of the disk. Default to PayAsYouGo. Valid values: PayAsYouGo, Subscription. If you want to change the disk payment type, the instance_id is required.

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

Specifies the performance level of an ESSD when you create the ESSD. Valid values:

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

The provisioned read/write IOPS of the ESSD AutoPL disk. Valid values: 0 to min{50,000, 1,000 × Capacity - Baseline IOPS}. NOTE: provisioned_iops is only valid when category is cloud_auto.

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

The ID of the resource group to which to add the disk.

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

The size of the disk. Unit: GiB. This parameter is required. Valid values:

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

The ID of the snapshot to use to create the disk. NOTE: If the size of the snapshot specified by snapshot_id is larger than the value of size, the size of the created disk is equal to the specified snapshot size. If the size of the snapshot specified by snapshot_id is smaller than the value of size, the size of the created disk is equal to the value of size.

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

The ID of the storage set.

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

The number of partitions in the storage set.

Link copied to clipboard
val tags: Output<Map<String, String>>? = null

A mapping of tags to assign to the resource.

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

The type to expand cloud disks. Valid Values: online, offline. Default to offline.

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

ID of the free zone to which the disk belongs. One of the zone_id and instance_id must be set but can not be set at the same time.

Functions

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