Backup for GKE v1 API - Enum RestoreConfig.Types.ClusterResourceConflictPolicy (2.4.0)

public enum RestoreConfig.Types.ClusterResourceConflictPolicy

Reference 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.V1

Assembly

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.