Backup Policy Args
data class BackupPolicyArgs(val backupFrequency: Output<String>? = null, val backupRetentionPeriod: Output<String>? = null, val backupRetentionPolicyOnClusterDeletion: Output<String>? = null, val dataLevel1BackupFrequency: Output<String>? = null, val dataLevel1BackupPeriods: Output<List<String>>? = null, val dataLevel1BackupRetentionPeriod: Output<Int>? = null, val dataLevel1BackupTime: Output<String>? = null, val dataLevel2BackupAnotherRegionRegion: Output<String>? = null, val dataLevel2BackupAnotherRegionRetentionPeriod: Output<Int>? = null, val dataLevel2BackupPeriods: Output<List<String>>? = null, val dataLevel2BackupRetentionPeriod: Output<Int>? = null, val dbClusterId: Output<String>? = null, val logBackupAnotherRegionRegion: Output<String>? = null, val logBackupAnotherRegionRetentionPeriod: Output<Int>? = null, val logBackupRetentionPeriod: Output<Int>? = null, val preferredBackupPeriods: Output<List<String>>? = null, val preferredBackupTime: Output<String>? = null) : ConvertibleToJava<BackupPolicyArgs>
Import
PolarDB backup policy can be imported using the id or cluster id, e.g.
$ pulumi import alicloud:polardb/backupPolicy:BackupPolicy example "rm-12345678"Content copied to clipboard
Constructors
Link copied to clipboard
fun BackupPolicyArgs(backupFrequency: Output<String>? = null, backupRetentionPeriod: Output<String>? = null, backupRetentionPolicyOnClusterDeletion: Output<String>? = null, dataLevel1BackupFrequency: Output<String>? = null, dataLevel1BackupPeriods: Output<List<String>>? = null, dataLevel1BackupRetentionPeriod: Output<Int>? = null, dataLevel1BackupTime: Output<String>? = null, dataLevel2BackupAnotherRegionRegion: Output<String>? = null, dataLevel2BackupAnotherRegionRetentionPeriod: Output<Int>? = null, dataLevel2BackupPeriods: Output<List<String>>? = null, dataLevel2BackupRetentionPeriod: Output<Int>? = null, dbClusterId: Output<String>? = null, logBackupAnotherRegionRegion: Output<String>? = null, logBackupAnotherRegionRetentionPeriod: Output<Int>? = null, logBackupRetentionPeriod: Output<Int>? = null, preferredBackupPeriods: Output<List<String>>? = null, preferredBackupTime: Output<String>? = null)
Functions
Properties
Link copied to clipboard
Specifies whether to retain backups when you delete a cluster. Valid values are ALL, LATEST, NONE. Default to NONE. Value options can refer to the latest docs ModifyBackupPolicy
Link copied to clipboard
Link copied to clipboard
The region in which you want to store cross-region log backups. For information about regions that support the cross-region backup feature, see Overview.