BackupScheduleState class

Input properties used for looking up and filtering BackupSchedule resources.

Constructors

BackupScheduleState({Input<Map<String, dynamic>?>? dailyRecurrence, Input<String?>? database, Input<String?>? deletionPolicy, Input<String?>? name, Input<String?>? project, Input<String?>? retention, Input<BackupScheduleWeeklyRecurrence?>? weeklyRecurrence})
Creates a new BackupScheduleState. dailyRecurrence For a schedule that runs daily. database The Firestore database id. Defaults to "(default)". deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. name The unique backup schedule identifier across all locations and databases for the given project. Format: project The ID of the project in which the resource belongs. retention At what relative time in the future, compared to its creation time, the backup should be deleted, e.g. keep backups for 7 days. weeklyRecurrence For a schedule that runs weekly on a specific day.
const
BackupScheduleState.fromMap(Map<String, dynamic> map)
factory

Properties

dailyRecurrence → Input<Map<String, dynamic>?>?
For a schedule that runs daily.
final
database → Input<String?>?
The Firestore database id. Defaults to "(default)".
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
hashCode → int
The hash code for this object.
no setterinherited
name → Input<String?>?
The unique backup schedule identifier across all locations and databases for the given project. Format: projects/{{project}}/databases/{{database}}/backupSchedules/{{backupSchedule}}
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
retention → 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 14 weeks.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
weeklyRecurrence → Input<BackupScheduleWeeklyRecurrence?>?
For a schedule that runs weekly on a specific day. 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