DatabaseLongTermRetentionPolicyArgs

data class DatabaseLongTermRetentionPolicyArgs(val immutableBackupsEnabled: Output<Boolean>? = null, val monthlyRetention: Output<String>? = null, val weekOfYear: Output<Int>? = null, val weeklyRetention: Output<String>? = null, val yearlyRetention: Output<String>? = null) : ConvertibleToJava<DatabaseLongTermRetentionPolicyArgs>

Constructors

Link copied to clipboard
constructor(immutableBackupsEnabled: Output<Boolean>? = null, monthlyRetention: Output<String>? = null, weekOfYear: Output<Int>? = null, weeklyRetention: Output<String>? = null, yearlyRetention: Output<String>? = null)

Properties

Link copied to clipboard
val immutableBackupsEnabled: Output<Boolean>? = null
Link copied to clipboard
val monthlyRetention: Output<String>? = null

The monthly retention policy for an LTR backup in an ISO 8601 format. Valid value is between 1 to 120 months. e.g. P1Y, P1M, P4W or P30D. Defaults to PT0S.

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

The weekly retention policy for an LTR backup in an ISO 8601 format. Valid value is between 1 to 520 weeks. e.g. P1Y, P1M, P1W or P7D. Defaults to PT0S.

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

The week of year to take the yearly backup. Value has to be between 1 and 52.

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

The yearly retention policy for an LTR backup in an ISO 8601 format. Valid value is between 1 to 10 years. e.g. P1Y, P12M, P52W or P365D. Defaults to PT0S.

Functions

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