RestoreConfig class

Configuration of a restore. Next id: 13

Constructors

RestoreConfig({Input<bool>? allNamespaces, Input<RestoreConfigClusterResourceConflictPolicy>? clusterResourceConflictPolicy, Input<ClusterResourceRestoreScope>? clusterResourceRestoreScope, Input<Namespaces>? excludedNamespaces, Input<RestoreConfigNamespacedResourceRestoreMode>? namespacedResourceRestoreMode, Input<bool>? noNamespaces, Input<NamespacedNames>? selectedApplications, Input<Namespaces>? selectedNamespaces, Input<List<SubstitutionRule>>? substitutionRules, Input<List<TransformationRule>>? transformationRules, Input<RestoreConfigVolumeDataRestorePolicy>? volumeDataRestorePolicy})
Creates a new RestoreConfig. allNamespaces Restore all namespaced resources in the Backup if set to "True". Specifying this field to "False" is an error. clusterResourceConflictPolicy Optional. Defines the behavior for handling the situation where cluster-scoped resources being restored already exist in the target cluster. This MUST be set to a value other than CLUSTER_RESOURCE_CONFLICT_POLICY_UNSPECIFIED if cluster_resource_restore_scope is not empty. clusterResourceRestoreScope Optional. Identifies the cluster-scoped resources to restore from the Backup. Not specifying it means NO cluster resource will be restored. excludedNamespaces A list of selected namespaces excluded from restoration. All namespaces except those in this list will be restored. namespacedResourceRestoreMode Optional. Defines the behavior for handling the situation where sets of namespaced resources being restored already exist in the target cluster. This MUST be set to a value other than NAMESPACED_RESOURCE_RESTORE_MODE_UNSPECIFIED. noNamespaces Do not restore any namespaced resources if set to "True". Specifying this field to "False" is not allowed. selectedApplications A list of selected ProtectedApplications to restore. The listed ProtectedApplications and all the resources to which they refer will be restored. selectedNamespaces A list of selected Namespaces to restore from the Backup. The listed Namespaces and all resources contained in them will be restored. substitutionRules Optional. A list of transformation rules to be applied against Kubernetes resources as they are selected for restoration from a Backup. Rules are executed in order defined - this order matters, as changes made by a rule may impact the filtering logic of subsequent rules. An empty list means no substitution will occur. transformationRules Optional. A list of transformation rules to be applied against Kubernetes resources as they are selected for restoration from a Backup. Rules are executed in order defined - this order matters, as changes made by a rule may impact the filtering logic of subsequent rules. An empty list means no transformation will occur. volumeDataRestorePolicy Optional. Specifies the mechanism to be used to restore volume data. Default: VOLUME_DATA_RESTORE_POLICY_UNSPECIFIED (will be treated as NO_VOLUME_DATA_RESTORATION).
const
RestoreConfig.fromMap(Map<String, dynamic> map)
factory

Properties

allNamespaces → Input<bool>?
Restore all namespaced resources in the Backup if set to "True". Specifying this field to "False" is an error.
final
clusterResourceConflictPolicy → Input<RestoreConfigClusterResourceConflictPolicy>?
Optional. Defines the behavior for handling the situation where cluster-scoped resources being restored already exist in the target cluster. This MUST be set to a value other than CLUSTER_RESOURCE_CONFLICT_POLICY_UNSPECIFIED if cluster_resource_restore_scope is not empty.
final
clusterResourceRestoreScope → Input<ClusterResourceRestoreScope>?
Optional. Identifies the cluster-scoped resources to restore from the Backup. Not specifying it means NO cluster resource will be restored.
final
excludedNamespaces → Input<Namespaces>?
A list of selected namespaces excluded from restoration. All namespaces except those in this list will be restored.
final
hashCode → int
The hash code for this object.
no setterinherited
namespacedResourceRestoreMode → Input<RestoreConfigNamespacedResourceRestoreMode>?
Optional. Defines the behavior for handling the situation where sets of namespaced resources being restored already exist in the target cluster. This MUST be set to a value other than NAMESPACED_RESOURCE_RESTORE_MODE_UNSPECIFIED.
final
noNamespaces → Input<bool>?
Do not restore any namespaced resources if set to "True". Specifying this field to "False" is not allowed.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
selectedApplications → Input<NamespacedNames>?
A list of selected ProtectedApplications to restore. The listed ProtectedApplications and all the resources to which they refer will be restored.
final
selectedNamespaces → Input<Namespaces>?
A list of selected Namespaces to restore from the Backup. The listed Namespaces and all resources contained in them will be restored.
final
substitutionRules → Input<List<SubstitutionRule>>?
Optional. A list of transformation rules to be applied against Kubernetes resources as they are selected for restoration from a Backup. Rules are executed in order defined - this order matters, as changes made by a rule may impact the filtering logic of subsequent rules. An empty list means no substitution will occur.
final
transformationRules → Input<List<TransformationRule>>?
Optional. A list of transformation rules to be applied against Kubernetes resources as they are selected for restoration from a Backup. Rules are executed in order defined - this order matters, as changes made by a rule may impact the filtering logic of subsequent rules. An empty list means no transformation will occur.
final
volumeDataRestorePolicy → Input<RestoreConfigVolumeDataRestorePolicy>?
Optional. Specifies the mechanism to be used to restore volume data. Default: VOLUME_DATA_RESTORE_POLICY_UNSPECIFIED (will be treated as NO_VOLUME_DATA_RESTORATION).
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