DatabaseInstanceSettingsBackupConfiguration constructor

const DatabaseInstanceSettingsBackupConfiguration({
  1. Input<DatabaseInstanceSettingsBackupConfigurationBackupRetentionSettings?>? backupRetentionSettings,
  2. Input<String?>? backupTier,
  3. Input<bool?>? binaryLogEnabled,
  4. Input<bool?>? enabled,
  5. Input<String?>? location,
  6. Input<bool?>? pointInTimeRecoveryEnabled,
  7. Input<String?>? startTime,
  8. Input<int?>? transactionLogRetentionDays,
})

Creates a new DatabaseInstanceSettingsBackupConfiguration. backupRetentionSettings Backup retention settings. The configuration is detailed below. backupTier The backup tier that manages the backups for the instance. binaryLogEnabled True if binary logging is enabled. enabled True if backup configuration is enabled. location The region where the backup will be stored pointInTimeRecoveryEnabled True if Point-in-time recovery is enabled. Will restart database if enabled after instance creation. Valid only for PostgreSQL and SQL Server instances. Enabled by default for PostgreSQL Enterprise Plus and SQL Server Enterprise Plus instances. startTime HH:MM format time indicating when backup transactionLogRetentionDays The number of days of transaction logs we retain for point in time restore, from 1-7. For PostgreSQL Enterprise Plus and SQL Server Enterprise Plus instances, the number of days of retained transaction logs can be set from 1 to 35.

Implementation

const DatabaseInstanceSettingsBackupConfiguration({
  this.backupRetentionSettings,
  this.backupTier,
  this.binaryLogEnabled,
  this.enabled,
  this.location,
  this.pointInTimeRecoveryEnabled,
  this.startTime,
  this.transactionLogRetentionDays,
});