Backup for GKE v1 API - Class BackupPlan.Types.BackupConfig (2.0.0)

public sealed class 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.

Inheritance

Object > BackupPlan.Types.BackupConfig

Namespace

Google.Cloud.GkeBackup.V1

Assembly

Google.Cloud.GkeBackup.V1.dll

Constructors

BackupConfig()

public BackupConfig()

BackupConfig(BackupPlan.Types.BackupConfig)

public BackupConfig(BackupPlan.Types.BackupConfig other)
Parameter
NameDescription
otherBackupPlan.Types.BackupConfig

Properties

AllNamespaces

public bool AllNamespaces { get; set; }

If True, include all namespaced resources

Property Value
TypeDescription
Boolean

BackupScopeCase

public BackupPlan.Types.BackupConfig.BackupScopeOneofCase BackupScopeCase { get; }
Property Value
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
Boolean

SelectedApplications

public NamespacedNames SelectedApplications { get; set; }

If set, include just the resources referenced by the listed ProtectedApplications.

Property Value
TypeDescription
NamespacedNames

SelectedNamespaces

public Namespaces SelectedNamespaces { get; set; }

If set, include just the resources in the listed namespaces.

Property Value
TypeDescription
Namespaces