ResourcePolicySnapshotSchedulePolicyRetentionPolicyArgs

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

Constructors

constructor(maxRetentionDays: Output<Int>, onSourceDiskDelete: Output<String>? = null)

Properties

Link copied to clipboard
val maxRetentionDays: Output<Int>

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

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

Specifies the behavior to apply to scheduled snapshots when the source disk is deleted. Default value is KEEP_AUTO_SNAPSHOTS. Possible values are: KEEP_AUTO_SNAPSHOTS, APPLY_RETENTION_POLICY.

Functions

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