ManagedDatabaseLongTermRetentionPolicy

data class ManagedDatabaseLongTermRetentionPolicy(val monthlyRetention: String? = null, val weekOfYear: Int? = null, val weeklyRetention: String? = null, val yearlyRetention: String? = null)

Constructors

Link copied to clipboard
fun ManagedDatabaseLongTermRetentionPolicy(monthlyRetention: String? = null, weekOfYear: Int? = null, weeklyRetention: String? = null, yearlyRetention: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

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.

Link copied to clipboard
val weeklyRetention: 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.

Link copied to clipboard
val weekOfYear: 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: 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.