BackupScheduleState class
Input properties used for looking up and filtering BackupSchedule resources.
Constructors
-
BackupScheduleState({Input<
String?> ? database, Input<String?> ? deletionPolicy, Input<BackupScheduleEncryptionConfig?> ? encryptionConfig, Input<Map< ? fullBackupSpec, Input<String, dynamic> ?>Map< ? incrementalBackupSpec, Input<String, dynamic> ?>String?> ? instance, Input<String?> ? name, Input<String?> ? project, Input<String?> ? retentionDuration, Input<BackupScheduleSpec?> ? spec}) -
Creates a new BackupScheduleState.
databaseThe database to create the backup schedule on.deletionPolicyWhether Terraform will be prevented from destroying the resource. Defaults to DELETE.encryptionConfigConfiguration for the encryption of the backup schedule.fullBackupSpecThe schedule creates only full backups..incrementalBackupSpecThe schedule creates incremental backup chains.instanceThe instance to create the database on.nameA unique identifier for the backup schedule, which cannot be changed afterprojectThe ID of the project in which the resource belongs.retentionDurationAt what relative time in the future, compared to its creation time, the backup should be deleted, e.g. keep backups for 7 days.specDefines specifications of the backup schedule.const -
BackupScheduleState.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