EcsDisk

class EcsDisk : KotlinCustomResource

Import

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

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

Properties

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

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>?

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>?

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 createTime: Output<String>

(Available since v1.237.0) The time when the disk was created.

Link copied to clipboard

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

Link copied to clipboard

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

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

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>

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>?

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

Link copied to clipboard

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>?
Link copied to clipboard
val encrypted: Output<Boolean>

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

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val instanceId: Output<String>

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

Link copied to clipboard
val kmsKeyId: Output<String>

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>

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>

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

Link copied to clipboard
val paymentType: Output<String>

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

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

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

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 pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val regionId: Output<String>

(Available since v1.237.0) The ID of the region to which the disk belongs.

Link copied to clipboard
val resourceGroupId: Output<String>

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

Link copied to clipboard
val size: Output<Int>

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

Link copied to clipboard
val snapshotId: Output<String>

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 status: Output<String>

The status of the disk.

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

The ID of the storage set.

Link copied to clipboard

The number of partitions in the storage set.

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

A mapping of tags to assign to the resource.

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

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

Link copied to clipboard
val urn: Output<String>
Link copied to clipboard
val zoneId: Output<String>

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.