public enum RestoreConfig.Types.ClusterResourceConflictPolicyReference documentation and code samples for the Backup for GKE v1 API enum RestoreConfig.Types.ClusterResourceConflictPolicy.
Defines the behavior for handling the situation where cluster-scoped resources being restored already exist in the target cluster.
Namespace
Google.Cloud.GkeBackup.V1Assembly
Google.Cloud.GkeBackup.V1.dll
Fields |
|
|---|---|
| Name | Description |
Unspecified |
Unspecified. Only allowed if no cluster-scoped resources will be restored. |
UseBackupVersion |
Delete the existing version before re-creating it from the Backup. This is a dangerous option which could cause unintentional data loss if used inappropriately. For example, deleting a CRD will cause Kubernetes to delete all CRs of that type. |
UseExistingVersion |
Do not attempt to restore the conflicting resource. |