public sealed class BackupConfig : IMessage<BackupPlan.Types.BackupConfig>, IEquatable<BackupPlan.Types.BackupConfig>, IDeepCloneable<BackupPlan.Types.BackupConfig>, IBufferMessage, IMessageBackupConfig defines the configuration of Backups created via this BackupPlan.
Implements
IMessage<BackupPlan.Types.BackupConfig>, IEquatable<BackupPlan.Types.BackupConfig>, IDeepCloneable<BackupPlan.Types.BackupConfig>, IBufferMessage, IMessageNamespace
Google.Cloud.GkeBackup.V1Assembly
Google.Cloud.GkeBackup.V1.dll
Constructors
BackupConfig()
public BackupConfig()BackupConfig(BackupPlan.Types.BackupConfig)
public BackupConfig(BackupPlan.Types.BackupConfig other)| Parameter | |
|---|---|
| Name | Description |
other |
BackupPlan.Types.BackupConfig |
Properties
AllNamespaces
public bool AllNamespaces { get; set; }If True, include all namespaced resources
| Property Value | |
|---|---|
| Type | Description |
Boolean |
|
BackupScopeCase
public BackupPlan.Types.BackupConfig.BackupScopeOneofCase BackupScopeCase { get; }| Property Value | |
|---|---|
| Type | Description |
BackupPlan.Types.BackupConfig.BackupScopeOneofCase |
|
EncryptionKey
public EncryptionKey EncryptionKey { get; set; }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.
| Property Value | |
|---|---|
| Type | Description |
EncryptionKey |
|
IncludeSecrets
public bool IncludeSecrets { get; set; }This flag specifies whether Kubernetes Secret resources should be included when they fall into the scope of Backups.
Default: False
| Property Value | |
|---|---|
| Type | Description |
Boolean |
|
IncludeVolumeData
public bool IncludeVolumeData { get; set; }This flag specifies whether volume data should be backed up when PVCs are included in the scope of a Backup.
Default: False
| Property Value | |
|---|---|
| Type | Description |
Boolean |
|
SelectedApplications
public NamespacedNames SelectedApplications { get; set; }If set, include just the resources referenced by the listed ProtectedApplications.
| Property Value | |
|---|---|
| Type | Description |
NamespacedNames |
|
SelectedNamespaces
public Namespaces SelectedNamespaces { get; set; }If set, include just the resources in the listed namespaces.
| Property Value | |
|---|---|
| Type | Description |
Namespaces |
|