GetEcsDisksDisk

data class GetEcsDisksDisk(val attachedTime: String, val autoSnapshotPolicyId: String, val availabilityZone: String, val category: String, val creationTime: String, val deleteAutoSnapshot: Boolean, val deleteWithInstance: Boolean, val description: String, val detachedTime: String, val device: String, val diskId: String, val diskName: String, val diskType: String, val enableAutoSnapshot: Boolean, val enableAutomatedSnapshotPolicy: Boolean, val encrypted: String, val expirationTime: String, val expiredTime: String, val id: String, val imageId: String, val instanceId: String, val iops: Int, val iopsRead: Int, val iopsWrite: Int, val kmsKeyId: String, val mountInstanceNum: Int, val mountInstances: List<GetEcsDisksDiskMountInstance>, val name: String, val operationLocks: List<GetEcsDisksDiskOperationLock>, val paymentType: String, val performanceLevel: String, val portable: Boolean, val productCode: String, val regionId: String, val resourceGroupId: String, val size: Int, val snapshotId: String, val status: String, val tags: Map<String, String>, val type: String, val zoneId: String)

Constructors

Link copied to clipboard
constructor(attachedTime: String, autoSnapshotPolicyId: String, availabilityZone: String, category: String, creationTime: String, deleteAutoSnapshot: Boolean, deleteWithInstance: Boolean, description: String, detachedTime: String, device: String, diskId: String, diskName: String, diskType: String, enableAutoSnapshot: Boolean, enableAutomatedSnapshotPolicy: Boolean, encrypted: String, expirationTime: String, expiredTime: String, id: String, imageId: String, instanceId: String, iops: Int, iopsRead: Int, iopsWrite: Int, kmsKeyId: String, mountInstanceNum: Int, mountInstances: List<GetEcsDisksDiskMountInstance>, name: String, operationLocks: List<GetEcsDisksDiskOperationLock>, paymentType: String, performanceLevel: String, portable: Boolean, productCode: String, regionId: String, resourceGroupId: String, size: Int, snapshotId: String, status: String, tags: Map<String, String>, type: String, zoneId: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

A mount of time.

Link copied to clipboard

Query cloud disks based on the automatic snapshot policy ID.

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

Disk category. Valid values: cloud, cloud_efficiency, cloud_essd, cloud_ssd, ephemeral_ssd, cloud_auto, cloud_essd_entry.

Link copied to clipboard

Disk creation time.

Link copied to clipboard

Indicates whether the automatic snapshot is deleted when the disk is released.

Link copied to clipboard

Indicates whether the disk is released together with the instance.

Link copied to clipboard

Disk description.

Link copied to clipboard

Disk detachment time.

Link copied to clipboard

The mount point of the disk.

Link copied to clipboard

ID of the disk.

Link copied to clipboard

The disk name.

Link copied to clipboard

The disk type. Valid values: system, data, all.

Link copied to clipboard

Whether the cloud disk has an automatic snapshot policy

Link copied to clipboard

Indicates whether the automatic snapshot is deleted when the disk is released.

Link copied to clipboard

Indicate whether the disk is encrypted or not. Valid values: on and off.

Link copied to clipboard

The time when the subscription disk expires.

Link copied to clipboard

The time when the subscription disk expires.

Link copied to clipboard
val id: String

ID of the disk.

Link copied to clipboard

ID of the image from which the disk is created. It is null unless the disk is created using an image.

Link copied to clipboard

Filter the results by the specified ECS instance ID.

Link copied to clipboard
val iops: Int

The maximum number of read and write operations per second.

Link copied to clipboard

The maximum number of read operations per second.

Link copied to clipboard

The maximum number of write operations per second.

Link copied to clipboard

The kms key id.

Link copied to clipboard

Number of instances mounted on shared storage.

Link copied to clipboard
Link copied to clipboard

Disk name.

Link copied to clipboard

The reasons why the disk was locked. See operation_locks below for details.

Link copied to clipboard

Payment method for disk. Valid Values: PayAsYouGo, Subscription.

Link copied to clipboard

Performance levels of ESSD cloud disk.

Link copied to clipboard

Whether the cloud disk or local disk supports uninstallation.

Link copied to clipboard

The product logo of the cloud market.

Link copied to clipboard

Region ID the disk belongs to.

Link copied to clipboard

The Id of resource group which the disk belongs.

Link copied to clipboard
val size: Int

Disk size in GiB.

Link copied to clipboard

The source snapshot id.

Link copied to clipboard

The status of disk. Valid Values: Attaching, Available, Creating, Detaching, In_use, Migrating, ReIniting, Transferring.

Link copied to clipboard

A map of tags assigned to the disks.

Link copied to clipboard

Field type has been deprecated from provider version 1.122.0. New field disk_type instead.

Link copied to clipboard

ID of the free zone to which the disk belongs.