ClusterAutomatedBackupPolicyArgs

data class ClusterAutomatedBackupPolicyArgs(val backupWindow: Output<String>? = null, val enabled: Output<Boolean>? = null, val encryptionConfig: Output<ClusterAutomatedBackupPolicyEncryptionConfigArgs>? = null, val labels: Output<Map<String, String>>? = null, val location: Output<String>? = null, val quantityBasedRetention: Output<ClusterAutomatedBackupPolicyQuantityBasedRetentionArgs>? = null, val timeBasedRetention: Output<ClusterAutomatedBackupPolicyTimeBasedRetentionArgs>? = null, val weeklySchedule: Output<ClusterAutomatedBackupPolicyWeeklyScheduleArgs>? = null) : ConvertibleToJava<ClusterAutomatedBackupPolicyArgs>

Constructors

Link copied to clipboard
constructor(backupWindow: Output<String>? = null, enabled: Output<Boolean>? = null, encryptionConfig: Output<ClusterAutomatedBackupPolicyEncryptionConfigArgs>? = null, labels: Output<Map<String, String>>? = null, location: Output<String>? = null, quantityBasedRetention: Output<ClusterAutomatedBackupPolicyQuantityBasedRetentionArgs>? = null, timeBasedRetention: Output<ClusterAutomatedBackupPolicyTimeBasedRetentionArgs>? = null, weeklySchedule: Output<ClusterAutomatedBackupPolicyWeeklyScheduleArgs>? = null)

Properties

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

The length of the time window during which a backup can be taken. If a backup does not succeed within this time window, it will be canceled and considered failed. The backup window must be at least 5 minutes long. There is no upper bound on the window. If not set, it will default to 1 hour. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".

Link copied to clipboard
val enabled: Output<Boolean>? = null

Whether automated backups are enabled.

Link copied to clipboard

EncryptionConfig describes the encryption config of a cluster or a backup that is encrypted with a CMEK (customer-managed encryption key). Structure is documented below.

Link copied to clipboard
val labels: Output<Map<String, String>>? = null

Labels to apply to backups created using this configuration.

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

The location where the backup will be stored. Currently, the only supported option is to store the backup in the same region as the cluster.

Link copied to clipboard

Quantity-based Backup retention policy to retain recent backups. Conflicts with 'time_based_retention', both can't be set together. Structure is documented below.

Link copied to clipboard

Time-based Backup retention policy. Conflicts with 'quantity_based_retention', both can't be set together. Structure is documented below.

Link copied to clipboard

Weekly schedule for the Backup. Structure is documented below.

Functions

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