EcsAutoSnapshotPolicyAttachmentArgs

data class EcsAutoSnapshotPolicyAttachmentArgs(val autoSnapshotPolicyId: Output<String>? = null, val diskId: Output<String>? = null) : ConvertibleToJava<EcsAutoSnapshotPolicyAttachmentArgs>

Provides a ECS Auto Snapshot Policy Attachment resource. For information about ECS Auto Snapshot Policy Attachment and how to use it, see What is Auto Snapshot Policy Attachment.

NOTE: Available in v1.122.0+.

Example Usage

Basic Usage No Java example available.

Import

ECS Auto Snapshot Policy Attachment can be imported using the id, e.g.

$ pulumi import alicloud:ecs/ecsAutoSnapshotPolicyAttachment:EcsAutoSnapshotPolicyAttachment example s-abcd12345:d-abcd12345

Constructors

Link copied to clipboard
fun EcsAutoSnapshotPolicyAttachmentArgs(autoSnapshotPolicyId: Output<String>? = null, diskId: Output<String>? = null)

Functions

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

Properties

Link copied to clipboard
val autoSnapshotPolicyId: Output<String>? = null

The auto snapshot policy id.

Link copied to clipboard
val diskId: Output<String>? = null

The disk id.