Show / Hide Table of Contents

Class RestoreConfig

Configuration of a restore.

Inheritance
object
RestoreConfig
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.BackupforGKE.v1.Data
Assembly: Google.Apis.BackupforGKE.v1.dll
Syntax
public class RestoreConfig : IDirectResponseSchema

Properties

AllNamespaces

Restore all namespaced resources in the Backup if set to "True". Specifying this field to "False" is an error.

Declaration
[JsonProperty("allNamespaces")]
public virtual bool? AllNamespaces { get; set; }
Property Value
Type Description
bool?

ClusterResourceConflictPolicy

Optional. Defines the behavior for handling the situation where cluster-scoped resources being restored already exist in the target cluster. This MUST be set to a value other than CLUSTER_RESOURCE_CONFLICT_POLICY_UNSPECIFIED if cluster_resource_restore_scope is not empty.

Declaration
[JsonProperty("clusterResourceConflictPolicy")]
public virtual string ClusterResourceConflictPolicy { get; set; }
Property Value
Type Description
string

ClusterResourceRestoreScope

Optional. Identifies the cluster-scoped resources to restore from the Backup. Not specifying it means NO cluster resource will be restored.

Declaration
[JsonProperty("clusterResourceRestoreScope")]
public virtual ClusterResourceRestoreScope ClusterResourceRestoreScope { get; set; }
Property Value
Type Description
ClusterResourceRestoreScope

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

ExcludedNamespaces

A list of selected namespaces excluded from restoration. All namespaces except those in this list will be restored.

Declaration
[JsonProperty("excludedNamespaces")]
public virtual Namespaces ExcludedNamespaces { get; set; }
Property Value
Type Description
Namespaces

NamespacedResourceRestoreMode

Optional. Defines the behavior for handling the situation where sets of namespaced resources being restored already exist in the target cluster. This MUST be set to a value other than NAMESPACED_RESOURCE_RESTORE_MODE_UNSPECIFIED.

Declaration
[JsonProperty("namespacedResourceRestoreMode")]
public virtual string NamespacedResourceRestoreMode { get; set; }
Property Value
Type Description
string

NoNamespaces

Do not restore any namespaced resources if set to "True". Specifying this field to "False" is not allowed.

Declaration
[JsonProperty("noNamespaces")]
public virtual bool? NoNamespaces { get; set; }
Property Value
Type Description
bool?

RestoreOrder

Optional. RestoreOrder contains custom ordering to use on a Restore.

Declaration
[JsonProperty("restoreOrder")]
public virtual RestoreOrder RestoreOrder { get; set; }
Property Value
Type Description
RestoreOrder

SelectedApplications

A list of selected ProtectedApplications to restore. The listed ProtectedApplications and all the resources to which they refer will be restored.

Declaration
[JsonProperty("selectedApplications")]
public virtual NamespacedNames SelectedApplications { get; set; }
Property Value
Type Description
NamespacedNames

SelectedNamespaces

A list of selected Namespaces to restore from the Backup. The listed Namespaces and all resources contained in them will be restored.

Declaration
[JsonProperty("selectedNamespaces")]
public virtual Namespaces SelectedNamespaces { get; set; }
Property Value
Type Description
Namespaces

SubstitutionRules

Optional. A list of transformation rules to be applied against Kubernetes resources as they are selected for restoration from a Backup. Rules are executed in order defined - this order matters, as changes made by a rule may impact the filtering logic of subsequent rules. An empty list means no substitution will occur.

Declaration
[JsonProperty("substitutionRules")]
public virtual IList<SubstitutionRule> SubstitutionRules { get; set; }
Property Value
Type Description
IList<SubstitutionRule>

TransformationRules

Optional. A list of transformation rules to be applied against Kubernetes resources as they are selected for restoration from a Backup. Rules are executed in order defined - this order matters, as changes made by a rule may impact the filtering logic of subsequent rules. An empty list means no transformation will occur.

Declaration
[JsonProperty("transformationRules")]
public virtual IList<TransformationRule> TransformationRules { get; set; }
Property Value
Type Description
IList<TransformationRule>

VolumeDataRestorePolicy

Optional. Specifies the mechanism to be used to restore volume data. Default: VOLUME_DATA_RESTORE_POLICY_UNSPECIFIED (will be treated as NO_VOLUME_DATA_RESTORATION).

Declaration
[JsonProperty("volumeDataRestorePolicy")]
public virtual string VolumeDataRestorePolicy { get; set; }
Property Value
Type Description
string

VolumeDataRestorePolicyBindings

Optional. A table that binds volumes by their scope to a restore policy. Bindings must have a unique scope. Any volumes not scoped in the bindings are subject to the policy defined in volume_data_restore_policy.

Declaration
[JsonProperty("volumeDataRestorePolicyBindings")]
public virtual IList<VolumeDataRestorePolicyBinding> VolumeDataRestorePolicyBindings { get; set; }
Property Value
Type Description
IList<VolumeDataRestorePolicyBinding>

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX