public sealed class BackupPlan.Types.BackupConfig : IMessage<BackupPlan.Types.BackupConfig>, IEquatable<BackupPlan.Types.BackupConfig>, IDeepCloneable<BackupPlan.Types.BackupConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the Backup for GKE v1 API class BackupPlan.Types.BackupConfig.
BackupConfig defines the configuration of Backups created via this BackupPlan.
Implements
IMessageBackupPlanTypesBackupConfig, IEquatableBackupPlanTypesBackupConfig, IDeepCloneableBackupPlanTypesBackupConfig, IBufferMessage, IMessageNamespace
Google.Cloud.GkeBackup.V1Assembly
Google.Cloud.GkeBackup.V1.dll
Constructors
BackupConfig()
public BackupConfig()
BackupConfig(BackupConfig)
public BackupConfig(BackupPlan.Types.BackupConfig other)
Parameter | |
---|---|
Name | Description |
other |
BackupPlanTypesBackupConfig |
Properties
AllNamespaces
public bool AllNamespaces { get; set; }
If True, include all namespaced resources
Property Value | |
---|---|
Type | Description |
bool |
BackupScopeCase
public BackupPlan.Types.BackupConfig.BackupScopeOneofCase BackupScopeCase { get; }
Property Value | |
---|---|
Type | Description |
BackupPlanTypesBackupConfigBackupScopeOneofCase |
EncryptionKey
public EncryptionKey EncryptionKey { get; set; }
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.
Property Value | |
---|---|
Type | Description |
EncryptionKey |
HasAllNamespaces
public bool HasAllNamespaces { get; }
Gets whether the "all_namespaces" field is set
Property Value | |
---|---|
Type | Description |
bool |
IncludeSecrets
public bool IncludeSecrets { get; set; }
Optional. This flag specifies whether Kubernetes Secret resources should be included when they fall into the scope of Backups.
Default: False
Property Value | |
---|---|
Type | Description |
bool |
IncludeVolumeData
public bool IncludeVolumeData { get; set; }
Optional. 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 |
bool |
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 |