BackupScheduleState constructor
- Input<
String?> ? database, - Input<
String?> ? deletionPolicy, - Input<
BackupScheduleEncryptionConfig?> ? encryptionConfig, - Input<
Map< ? fullBackupSpec,String, dynamic> ?> - Input<
Map< ? incrementalBackupSpec,String, dynamic> ?> - Input<
String?> ? instance, - Input<
String?> ? name, - Input<
String?> ? project, - Input<
String?> ? retentionDuration, - Input<
BackupScheduleSpec?> ? spec,
Creates a new BackupScheduleState.
database The database to create the backup schedule on.
deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to DELETE.
encryptionConfig Configuration for the encryption of the backup schedule.
fullBackupSpec The schedule creates only full backups..
incrementalBackupSpec The schedule creates incremental backup chains.
instance The instance to create the database on.
name A unique identifier for the backup schedule, which cannot be changed after
project The ID of the project in which the resource belongs.
retentionDuration At what relative time in the future, compared to its creation time, the backup should be deleted, e.g. keep backups for 7 days.
spec Defines specifications of the backup schedule.
Implementation
const BackupScheduleState({
this.database,
this.deletionPolicy,
this.encryptionConfig,
this.fullBackupSpec,
this.incrementalBackupSpec,
this.instance,
this.name,
this.project,
this.retentionDuration,
this.spec,
});