EcsDisk

class EcsDisk : KotlinCustomResource

Import

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

$ pulumi import alicloud:ecs/ecsDisk:EcsDisk example d-abcd12345

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 category: Output<String>?

Category of the disk. Valid values are cloud, cloud_efficiency, cloud_ssd, cloud_essd, cloud_auto. Default is cloud_efficiency.

Link copied to clipboard

Indicates whether the automatic snapshot is deleted when the disk is released. Default value: false.

Link copied to clipboard

Indicates whether the disk is released together with the instance. Default value: false.

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

Description of the disk. This description can have a string of 2 to 256 characters, It cannot begin with http:// or https://. Default value is null.

Link copied to clipboard
val diskName: Output<String>

Name of the ECS disk. This name can have a string of 2 to 128 characters, must contain only alphanumeric characters or hyphens, such as "-",".","_", and must not begin or end with a hyphen, and must not begin with http:// or https://. Default value is null.

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

Indicates whether to enable creating snapshot automatically.

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

If true, the disk will be encrypted, conflict with snapshot_id.

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 KMS key corresponding to the data disk, The specified parameter Encrypted must be true when KmsKeyId is not empty.

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>

Payment method for disk. Valid values: PayAsYouGo, Subscription. Default to PayAsYouGo. 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 pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val resourceGroupId: Output<String>

The Id of resource group which the disk belongs. This attribute only supports adding or updating, not destroying.

Link copied to clipboard
val size: Output<Int>

The size of the disk in GiBs. When resize the disk, the new size must be greater than the former value, or you would get an error InvalidDiskSize.TooSmall.

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

A snapshot to base the disk off of. If the disk size required by snapshot is greater than size, the size will be ignored, conflict with encrypted.

Link copied to clipboard
val status: Output<String>

The disk status.

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

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.