Auto Snapshot Policy Args
data class AutoSnapshotPolicyArgs(val copiedSnapshotsRetentionDays: Output<Int>? = null, val enableCrossRegionCopy: Output<Boolean>? = null, val name: Output<String>? = null, val repeatWeekdays: Output<List<String>>? = null, val retentionDays: Output<Int>? = null, val tags: Output<Map<String, Any>>? = null, val targetCopyRegions: Output<List<String>>? = null, val timePoints: Output<List<String>>? = null) : ConvertibleToJava<AutoSnapshotPolicyArgs>
Provides a ECS Auto Snapshot Policy resource. For information about ECS Auto Snapshot Policy and how to use it, see What is Auto Snapshot Policy.
NOTE: Available in v1.117.0+.
Example Usage
Basic Usage No Java example available.
Import
ECS Auto Snapshot Policy can be imported using the id, e.g.
$ pulumi import alicloud:ecs/autoSnapshotPolicy:AutoSnapshotPolicy example <id>
Content copied to clipboard
Constructors
Link copied to clipboard
fun AutoSnapshotPolicyArgs(copiedSnapshotsRetentionDays: Output<Int>? = null, enableCrossRegionCopy: Output<Boolean>? = null, name: Output<String>? = null, repeatWeekdays: Output<List<String>>? = null, retentionDays: Output<Int>? = null, tags: Output<Map<String, Any>>? = null, targetCopyRegions: Output<List<String>>? = null, timePoints: Output<List<String>>? = null)
Functions
Properties
Link copied to clipboard
The automatic snapshot repetition dates. The unit of measurement is day and the repeating cycle is a week. Value range: 1, 7, which represents days starting from Monday to Sunday, for example 1 indicates Monday. When you want to schedule multiple automatic snapshot tasks for a disk in a week, you can set the RepeatWeekdays to an array.