Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.alicloud.ecs.kotlin
import com.pulumi.alicloud.ecs.EcsSnapshotArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.Deprecated
import kotlin.Int
import kotlin.Pair
import kotlin.String
import kotlin.Suppress
import kotlin.collections.Map
import kotlin.jvm.JvmName
/**
* Provides a ECS Snapshot resource.
* For information about ECS Snapshot and how to use it, see [What is Snapshot](https://www.alibabacloud.com/help/en/doc-detail/25524.htm).
* > **NOTE:** Available in v1.120.0+.
* ## Import
* ECS Snapshot can be imported using the id, e.g.
* ```sh
* $ pulumi import alicloud:ecs/ecsSnapshot:EcsSnapshot example
* ```
* @property category The category of the snapshot. Valid Values: `standard` and `flash`.
* @property description The description of the snapshot.
* @property diskId The ID of the disk.
* @property force Specifies whether to forcibly delete the snapshot that has been used to create disks.
* @property instantAccess Specifies whether to enable the instant access feature.
* @property instantAccessRetentionDays Specifies the retention period of the instant access feature. After the retention period ends, the snapshot is automatically released.
* @property name Field `name` has been deprecated from provider version 1.120.0. New field `snapshot_name` instead.
* @property resourceGroupId The resource group id.
* @property retentionDays The retention period of the snapshot.
* @property snapshotName The name of the snapshot.
* @property tags A mapping of tags to assign to the snapshot.
* > **NOTE:** If `force` is true, After an snapshot is deleted, the disks created from this snapshot cannot be re-initialized.
*/
public data class EcsSnapshotArgs(
public val category: Output? = null,
public val description: Output? = null,
public val diskId: Output? = null,
public val force: Output? = null,
public val instantAccess: Output? = null,
public val instantAccessRetentionDays: Output? = null,
@Deprecated(
message = """
Field 'name' has been deprecated from provider version 1.120.0. New field 'snapshot_name' instead.
""",
)
public val name: Output? = null,
public val resourceGroupId: Output? = null,
public val retentionDays: Output? = null,
public val snapshotName: Output? = null,
public val tags: Output