GetClusterAutomatedBackupPolicy

data class GetClusterAutomatedBackupPolicy(val backupWindow: String, val enabled: Boolean, val encryptionConfigs: List<GetClusterAutomatedBackupPolicyEncryptionConfig>, val labels: Map<String, String>, val location: String, val quantityBasedRetentions: List<GetClusterAutomatedBackupPolicyQuantityBasedRetention>, val timeBasedRetentions: List<GetClusterAutomatedBackupPolicyTimeBasedRetention>, val weeklySchedules: List<GetClusterAutomatedBackupPolicyWeeklySchedule>)

Constructors

Link copied to clipboard

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

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

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).

Link copied to clipboard

Labels to apply to backups created using this configuration.

Link copied to clipboard

(optional) The canonical id of the location.If it is not provided, the provider project is used. For example: us-east1.

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard