public enum RestoreConfig.Types.NamespacedResourceRestoreMode
Reference documentation and code samples for the Backup for GKE v1 API enum RestoreConfig.Types.NamespacedResourceRestoreMode.
Defines the behavior for handling the situation where sets of namespaced resources being restored already exist in the target cluster.
Namespace
Google.Cloud.GkeBackup.V1Assembly
Google.Cloud.GkeBackup.V1.dll
Fields |
|
---|---|
Name | Description |
DeleteAndRestore |
When conflicting top-level resources (either Namespaces or ProtectedApplications, depending upon the scope) are encountered, this will first trigger a delete of the conflicting resource AND ALL OF ITS REFERENCED RESOURCES (e.g., all resources in the Namespace or all resources referenced by the ProtectedApplication) before restoring the resources from the Backup. This mode should only be used when you are intending to revert some portion of a cluster to an earlier state. |
FailOnConflict |
If conflicting top-level resources (either Namespaces or ProtectedApplications, depending upon the scope) are encountered at the beginning of a restore process, the Restore will fail. If a conflict occurs during the restore process itself (e.g., because an out of band process creates conflicting resources), a conflict will be reported. |
Unspecified |
Unspecified (invalid). |