RestorePlanArgs class
The set of arguments for RestorePlan. The set of arguments for RestorePlan.
Constructors
-
RestorePlanArgs({required Input<
String> backupPlan, required Input<String> cluster, Input<String?> ? deletionPolicy, Input<String?> ? description, Input<Map< ? labels, required Input<String, String> ?>String> location, Input<String?> ? name, Input<String?> ? project, required Input<RestorePlanRestoreConfig> restoreConfig}) -
Creates a new RestorePlanArgs.
backupPlanA reference to the BackupPlan from which Backups may be usedclusterThe name of the target cluster to which you want to Restore via this RestorePlan.deletionPolicyWhether Terraform will be prevented from destroying the resource. Defaults to DELETE.descriptionUser specified descriptive string for this RestorePlan.labelsDescription: A set of custom labels supplied by the user.locationThe region of the Restore Plan.nameThe full name of the BackupPlan Resource.projectThe ID of the project in which the resource belongs.restoreConfigDefines the configuration of Restores created via this RestorePlan.const -
RestorePlanArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
backupPlan
→ Input<
String> -
A reference to the BackupPlan from which Backups may be used
as the source for Restores created via this RestorePlan.
final
-
cluster
→ Input<
String> -
The name of the target cluster to which you want to Restore via this RestorePlan.
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 RestorePlan.
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 Restore 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
-
restoreConfig
→ Input<
RestorePlanRestoreConfig> -
Defines the configuration of Restores created via this RestorePlan.
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