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

public enum 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

NameDescription
Unspecified

Unspecified. Only allowed if no cluster-scoped resources will be restored.

UseBackupVersion

Delete the existing version before re-creating it from the Backup. Note that 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.