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> ? description, Input<Map< ? labels, Input<String, String> >String> ? location, Input<String> ? project, required Input<RestoreConfig> restoreConfig, required Input<String> restorePlanId}) -
Creates a new RestorePlanArgs.
backupPlanImmutable. A reference to the BackupPlan from which Backups may be used as the source for Restores created via this RestorePlan. Format:projects/*/locations/*/backupPlans/*.clusterImmutable. The target cluster into which Restores created via this RestorePlan will restore data. NOTE: the cluster's region must be the same as the RestorePlan. Valid formats: -projects/*/locations/*/clusters/*-projects/*/zones/*/clusters/*descriptionOptional. User specified descriptive string for this RestorePlan.labelsOptional. A set of custom labels supplied by user.locationOptional.projectOptional.restoreConfigConfiguration of Restores created via this RestorePlan.restorePlanIdRequired. The client-provided short name for the RestorePlan resource. This name must: - be between 1 and 63 characters long (inclusive) - consist of only lower-case ASCII letters, numbers, and dashes - start with a lower-case letter - end with a lower-case letter or number - be unique within the set of RestorePlans in this locationconst -
RestorePlanArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
backupPlan
→ Input<
String> -
Immutable. A reference to the BackupPlan from which Backups may be used as the source for Restores created via this RestorePlan. Format:
projects/*/locations/*/backupPlans/*.final -
cluster
→ Input<
String> -
Immutable. The target cluster into which Restores created via this RestorePlan will restore data. NOTE: the cluster's region must be the same as the RestorePlan. Valid formats: -
projects/*/locations/*/clusters/*-projects/*/zones/*/clusters/*final -
description
→ Input<
String> ? -
Optional. User specified descriptive string for this RestorePlan.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
labels
→ Input<
Map< ?String, String> > -
Optional. A set of custom labels supplied by user.
final
-
location
→ Input<
String> ? -
final
-
project
→ Input<
String> ? -
final
-
restoreConfig
→ Input<
RestoreConfig> -
Configuration of Restores created via this RestorePlan.
final
-
restorePlanId
→ Input<
String> -
Required. The client-provided short name for the RestorePlan resource. This name must: - be between 1 and 63 characters long (inclusive) - consist of only lower-case ASCII letters, numbers, and dashes - start with a lower-case letter - end with a lower-case letter or number - be unique within the set of RestorePlans in this location
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