BackupScheduleArgs class

The set of arguments for BackupSchedule. The set of arguments for BackupSchedule.

Constructors

BackupScheduleArgs({required Input<String> database, Input<String?>? deletionPolicy, Input<BackupScheduleEncryptionConfig?>? encryptionConfig, Input<Map<String, dynamic>?>? fullBackupSpec, Input<Map<String, dynamic>?>? incrementalBackupSpec, required Input<String> instance, Input<String?>? name, Input<String?>? project, required Input<String> retentionDuration, Input<BackupScheduleSpec?>? spec})
Creates a new BackupScheduleArgs. 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.
const
BackupScheduleArgs.fromMap(Map<String, dynamic> map)
factory

Properties

database → Input<String>
The database to create the backup schedule on.
final
deletionPolicy → Input<String?>?
Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
final
encryptionConfig → Input<BackupScheduleEncryptionConfig?>?
Configuration for the encryption of the backup schedule. Structure is documented below.
final
fullBackupSpec → Input<Map<String, dynamic>?>?
The schedule creates only full backups..
final
hashCode → int
The hash code for this object.
no setterinherited
incrementalBackupSpec → Input<Map<String, dynamic>?>?
The schedule creates incremental backup chains.
final
instance → Input<String>
The instance to create the database on.
final
name → Input<String?>?
A unique identifier for the backup schedule, which cannot be changed after the backup schedule is created. Values are of the form -a-z0-9*a-z0-9.
final
project → Input<String?>?
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
final
retentionDuration → Input<String>
At what relative time in the future, compared to its creation time, the backup should be deleted, e.g. keep backups for 7 days. A duration in seconds with up to nine fractional digits, ending with 's'. Example: '3.5s'. You can set this to a value up to 366 days.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
spec → Input<BackupScheduleSpec?>?
Defines specifications of the backup schedule. Structure is documented below.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited