BackupConfig class
BackupConfig defines the configuration of Backups created via this BackupPlan.
Constructors
-
BackupConfig({Input<
bool> ? allNamespaces, Input<EncryptionKey> ? encryptionKey, Input<bool> ? includeSecrets, Input<bool> ? includeVolumeData, Input<NamespacedNames> ? selectedApplications, Input<Namespaces> ? selectedNamespaces}) -
Creates a new BackupConfig.
allNamespacesIf True, include all namespaced resourcesencryptionKeyOptional. This defines a customer managed encryption key that will be used to encrypt the "config" portion (the Kubernetes resources) of Backups created via this plan. Default (empty): Config backup artifacts will not be encrypted.includeSecretsOptional. This flag specifies whether Kubernetes Secret resources should be included when they fall into the scope of Backups. Default: FalseincludeVolumeDataOptional. This flag specifies whether volume data should be backed up when PVCs are included in the scope of a Backup. Default: FalseselectedApplicationsIf set, include just the resources referenced by the listed ProtectedApplications.selectedNamespacesIf set, include just the resources in the listed namespaces.const -
BackupConfig.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
allNamespaces
→ Input<
bool> ? -
If True, include all namespaced resources
final
-
encryptionKey
→ Input<
EncryptionKey> ? -
Optional. This defines a customer managed encryption key that will be used to encrypt the "config" portion (the Kubernetes resources) of Backups created via this plan. Default (empty): Config backup artifacts will not be encrypted.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
includeSecrets
→ Input<
bool> ? -
Optional. This flag specifies whether Kubernetes Secret resources should be included when they fall into the scope of Backups. Default: False
final
-
includeVolumeData
→ Input<
bool> ? -
Optional. This flag specifies whether volume data should be backed up when PVCs are included in the scope of a Backup. Default: False
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
selectedApplications
→ Input<
NamespacedNames> ? -
If set, include just the resources referenced by the listed ProtectedApplications.
final
-
selectedNamespaces
→ Input<
Namespaces> ? -
If set, include just the resources in the listed namespaces.
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