BackupPlanArgs class

The set of arguments for BackupPlan. The set of arguments for BackupPlan.

Constructors

BackupPlanArgs({Input<BackupPlanBackupConfig?>? backupConfig, Input<BackupPlanBackupSchedule?>? backupSchedule, required Input<String> cluster, Input<bool?>? deactivated, Input<String?>? deletionPolicy, Input<String?>? description, Input<Map<String, String>?>? labels, required Input<String> location, Input<String?>? name, Input<String?>? project, Input<BackupPlanRetentionPolicy?>? retentionPolicy})
Creates a new BackupPlanArgs. backupConfig Defines the configuration of Backups created via this BackupPlan. backupSchedule Defines a schedule for automatic Backup creation via this BackupPlan. cluster The source cluster from which Backups will be created via this BackupPlan. deactivated This flag indicates whether this BackupPlan has been deactivated. deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. description User specified descriptive string for this BackupPlan. labels Description: A set of custom labels supplied by the user. location The region of the Backup Plan. name The full name of the BackupPlan Resource. project The ID of the project in which the resource belongs. retentionPolicy RetentionPolicy governs lifecycle of Backups created under this plan.
const
BackupPlanArgs.fromMap(Map<String, dynamic> map)
factory

Properties

backupConfig → Input<BackupPlanBackupConfig?>?
Defines the configuration of Backups created via this BackupPlan. Structure is documented below.
final
backupSchedule → Input<BackupPlanBackupSchedule?>?
Defines a schedule for automatic Backup creation via this BackupPlan. Structure is documented below.
final
cluster → Input<String>
The source cluster from which Backups will be created via this BackupPlan.
final
deactivated → Input<bool?>?
This flag indicates whether this BackupPlan has been deactivated. Setting this field to True locks the BackupPlan such that no further updates will be allowed (except deletes), including the deactivated field itself. It also prevents any new Backups from being created via this BackupPlan (including scheduled Backups).
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
description → Input<String?>?
User specified descriptive string for this BackupPlan.
final
hashCode → int
The hash code for this object.
no setterinherited
labels → Input<Map<String, String>?>?
Description: A set of custom labels supplied by the user. A list of key->value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
final
location → Input<String>
The region of the Backup Plan.
final
name → Input<String?>?
The full name of the BackupPlan Resource.
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
retentionPolicy → Input<BackupPlanRetentionPolicy?>?
RetentionPolicy governs lifecycle of Backups created under this plan. Structure is documented below.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

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