Class BackupConfig
BackupConfig defines the configuration of Backups created via this BackupPlan.
Implements
Inherited Members
Namespace: Google.Apis.BackupforGKE.v1.Data
Assembly: Google.Apis.BackupforGKE.v1.dll
Syntax
public class BackupConfig : IDirectResponseSchema
Properties
AllNamespaces
If True, include all namespaced resources
Declaration
[JsonProperty("allNamespaces")]
public virtual bool? AllNamespaces { get; set; }
Property Value
Type | Description |
---|---|
bool? |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
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.
Declaration
[JsonProperty("encryptionKey")]
public virtual EncryptionKey EncryptionKey { get; set; }
Property Value
Type | Description |
---|---|
EncryptionKey |
IncludeSecrets
Optional. This flag specifies whether Kubernetes Secret resources should be included when they fall into the scope of Backups. Default: False
Declaration
[JsonProperty("includeSecrets")]
public virtual bool? IncludeSecrets { get; set; }
Property Value
Type | Description |
---|---|
bool? |
IncludeVolumeData
Optional. This flag specifies whether volume data should be backed up when PVCs are included in the scope of a Backup. Default: False
Declaration
[JsonProperty("includeVolumeData")]
public virtual bool? IncludeVolumeData { get; set; }
Property Value
Type | Description |
---|---|
bool? |
PermissiveMode
Optional. If false, Backups will fail when Backup for GKE detects Kubernetes configuration that is non-standard or requires additional setup to restore. Default: False
Declaration
[JsonProperty("permissiveMode")]
public virtual bool? PermissiveMode { get; set; }
Property Value
Type | Description |
---|---|
bool? |
SelectedApplications
If set, include just the resources referenced by the listed ProtectedApplications.
Declaration
[JsonProperty("selectedApplications")]
public virtual NamespacedNames SelectedApplications { get; set; }
Property Value
Type | Description |
---|---|
NamespacedNames |
SelectedNamespaces
If set, include just the resources in the listed namespaces.
Declaration
[JsonProperty("selectedNamespaces")]
public virtual Namespaces SelectedNamespaces { get; set; }
Property Value
Type | Description |
---|---|
Namespaces |