GetEcsDisksResult

data class GetEcsDisksResult(val additionalAttributes: List<String>? = null, val autoSnapshotPolicyId: String? = null, val availabilityZone: String? = null, val category: String? = null, val deleteAutoSnapshot: Boolean? = null, val deleteWithInstance: Boolean? = null, val diskName: String? = null, val diskType: String? = null, val disks: List<GetEcsDisksDisk>, val dryRun: Boolean? = null, val enableAutoSnapshot: Boolean? = null, val enableAutomatedSnapshotPolicy: Boolean? = null, val enableShared: Boolean? = null, val encrypted: String? = null, val id: String, val ids: List<String>, val instanceId: String? = null, val kmsKeyId: String? = null, val nameRegex: String? = null, val names: List<String>, val operationLocks: List<GetEcsDisksOperationLock>? = null, val outputFile: String? = null, val pageNumber: Int? = null, val pageSize: Int? = null, val paymentType: String? = null, val portable: Boolean? = null, val resourceGroupId: String? = null, val snapshotId: String? = null, val status: String? = null, val tags: Map<String, String>? = null, val totalCount: Int, val type: String? = null, val zoneId: String? = null)

A collection of values returned by getEcsDisks.

Constructors

Link copied to clipboard
constructor(additionalAttributes: List<String>? = null, autoSnapshotPolicyId: String? = null, availabilityZone: String? = null, category: String? = null, deleteAutoSnapshot: Boolean? = null, deleteWithInstance: Boolean? = null, diskName: String? = null, diskType: String? = null, disks: List<GetEcsDisksDisk>, dryRun: Boolean? = null, enableAutoSnapshot: Boolean? = null, enableAutomatedSnapshotPolicy: Boolean? = null, enableShared: Boolean? = null, encrypted: String? = null, id: String, ids: List<String>, instanceId: String? = null, kmsKeyId: String? = null, nameRegex: String? = null, names: List<String>, operationLocks: List<GetEcsDisksOperationLock>? = null, outputFile: String? = null, pageNumber: Int? = null, pageSize: Int? = null, paymentType: String? = null, portable: Boolean? = null, resourceGroupId: String? = null, snapshotId: String? = null, status: String? = null, tags: Map<String, String>? = null, totalCount: Int, type: String? = null, zoneId: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard

Query cloud disks based on the automatic snapshot policy ID.

Link copied to clipboard

Availability zone of the disk.

Link copied to clipboard
val category: String? = null

Disk category.

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
val diskName: String? = null

The disk name.

Link copied to clipboard

A list of Ecs Disks. Each element contains the following attributes:

Link copied to clipboard
val diskType: String? = null

The type of the disk.

Link copied to clipboard
val dryRun: Boolean? = null
Link copied to clipboard

Whether the disk implements an automatic snapshot policy.

Link copied to clipboard

Whether the disk implements an automatic snapshot policy.

Link copied to clipboard
val enableShared: Boolean? = null
Link copied to clipboard
val encrypted: String? = null

Indicate whether the disk is encrypted or not.

Link copied to clipboard
val id: String

The provider-assigned unique ID for this managed resource.

Link copied to clipboard
Link copied to clipboard
val instanceId: String? = null

The instance ID of the disk mount.

Link copied to clipboard
val kmsKeyId: String? = null

The ID of the KMS key that is used for the cloud disk.

Link copied to clipboard
val nameRegex: String? = null
Link copied to clipboard

A list of Disk names.

Link copied to clipboard

The reasons why the disk was locked.

Link copied to clipboard
val outputFile: String? = null
Link copied to clipboard
val pageNumber: Int? = null
Link copied to clipboard
val pageSize: Int? = null
Link copied to clipboard
val paymentType: String? = null

Payment method for disk.

Link copied to clipboard
val portable: Boolean? = null

Whether the disk is unmountable.

Link copied to clipboard
val resourceGroupId: String? = null

The Id of resource group.

Link copied to clipboard
val snapshotId: String? = null

Snapshot used to create the disk. It is null if no snapshot is used to create the disk.

Link copied to clipboard
val status: String? = null

Current status.

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

A map of tags assigned to the disk.

Link copied to clipboard
Link copied to clipboard
val type: String? = null

The type of the disk.

Link copied to clipboard
val zoneId: String? = null

The zone id.