GetEcsDisksPlainArgs

data class GetEcsDisksPlainArgs(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 dryRun: Boolean? = null, val enableAutoSnapshot: Boolean? = null, val enableAutomatedSnapshotPolicy: Boolean? = null, val enableShared: Boolean? = null, val encrypted: String? = null, val ids: List<String>? = null, val instanceId: String? = null, val kmsKeyId: String? = null, val nameRegex: String? = null, 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 type: String? = null, val zoneId: String? = null) : ConvertibleToJava<GetEcsDisksPlainArgs>

A collection of arguments for invoking 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, dryRun: Boolean? = null, enableAutoSnapshot: Boolean? = null, enableAutomatedSnapshotPolicy: Boolean? = null, enableShared: Boolean? = null, encrypted: String? = null, ids: List<String>? = null, instanceId: String? = null, kmsKeyId: String? = null, nameRegex: String? = null, 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, type: String? = null, zoneId: String? = null)

Properties

Link copied to clipboard

Other attribute values. Currently, only the incoming value of IOPS is supported, which means to query the IOPS upper limit of the current disk.

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

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

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

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

Link copied to clipboard
val dryRun: 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

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
val enableShared: Boolean? = null

Whether it is shared block storage.

Link copied to clipboard
val encrypted: String? = null

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

Link copied to clipboard
val ids: List<String>? = null

A list of Disk IDs.

Link copied to clipboard
val instanceId: String? = null

Filter the results by the specified ECS instance ID.

Link copied to clipboard
val kmsKeyId: String? = null

The kms key id.

Link copied to clipboard
val nameRegex: String? = null

A regex string to filter results by Disk name.

Link copied to clipboard

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

Link copied to clipboard
val outputFile: String? = null

File name where to save data source results (after running pulumi preview).

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. Valid Values: PayAsYouGo, Subscription.

Link copied to clipboard
val portable: Boolean? = null

Whether the cloud disk or local disk supports uninstallation.

Link copied to clipboard
val resourceGroupId: String? = null

The Id of resource group which the disk belongs.

Link copied to clipboard
val snapshotId: String? = null

The source snapshot id.

Link copied to clipboard
val status: String? = null

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

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

A map of tags assigned to the disks.

Link copied to clipboard
val type: String? = null

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

Link copied to clipboard
val zoneId: String? = null

ID of the free zone to which the disk belongs.

Functions

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