ResourcePolicySnapshotSchedulePolicyRetentionPolicyArgs

data class ResourcePolicySnapshotSchedulePolicyRetentionPolicyArgs(val maxRetentionDays: Output<Int>? = null, val onSourceDiskDelete: Output<ResourcePolicySnapshotSchedulePolicyRetentionPolicyOnSourceDiskDelete>? = null) : ConvertibleToJava<ResourcePolicySnapshotSchedulePolicyRetentionPolicyArgs>

Policy for retention of scheduled snapshots.

Constructors

Functions

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

Properties

Link copied to clipboard
val maxRetentionDays: Output<Int>? = null

Maximum age of the snapshot that is allowed to be kept.

Link copied to clipboard

Specifies the behavior to apply to scheduled snapshots when the source disk is deleted.