RestoreConfigClusterResourceConflictPolicy

enum RestoreConfigClusterResourceConflictPolicy : Enum<RestoreConfigClusterResourceConflictPolicy> , ConvertibleToJava<RestoreConfigClusterResourceConflictPolicy>

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.

Entries

Link copied to clipboard

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

Link copied to clipboard

Do not attempt to restore the conflicting resource.

Link copied to clipboard

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.

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun toJava(): RestoreConfigClusterResourceConflictPolicy
Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.

Properties

Link copied to clipboard
val javaValue: RestoreConfigClusterResourceConflictPolicy
Link copied to clipboard
Link copied to clipboard