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< ? labels, required Input<String, String> ?>String> location, Input<String?> ? name, Input<String?> ? project, Input<BackupPlanRetentionPolicy?> ? retentionPolicy}) -
Creates a new BackupPlanArgs.
backupConfigDefines the configuration of Backups created via this BackupPlan.backupScheduleDefines a schedule for automatic Backup creation via this BackupPlan.clusterThe source cluster from which Backups will be created via this BackupPlan.deactivatedThis flag indicates whether this BackupPlan has been deactivated.deletionPolicyWhether Terraform will be prevented from destroying the resource. Defaults to DELETE.descriptionUser specified descriptive string for this BackupPlan.labelsDescription: A set of custom labels supplied by the user.locationThe region of the Backup Plan.nameThe full name of the BackupPlan Resource.projectThe ID of the project in which the resource belongs.retentionPolicyRetentionPolicy 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