public enum RestoreConfig.ClusterResourceConflictPolicy extends Enum<RestoreConfig.ClusterResourceConflictPolicy> implements ProtocolMessageEnum
Defines the behavior for handling the situation where cluster-scoped resources being restored already exist in the target cluster.
Protobuf enum
google.events.cloud.gkebackup.v1.RestoreConfig.ClusterResourceConflictPolicy
Implements
ProtocolMessageEnumStatic Fields | |
---|---|
Name | Description |
CLUSTER_RESOURCE_CONFLICT_POLICY_UNSPECIFIED | Unspecified. Only allowed if no cluster-scoped resources will be restored. |
CLUSTER_RESOURCE_CONFLICT_POLICY_UNSPECIFIED_VALUE | Unspecified. Only allowed if no cluster-scoped resources will be restored. |
UNRECOGNIZED | |
USE_BACKUP_VERSION | 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. |
USE_BACKUP_VERSION_VALUE | 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. |
USE_EXISTING_VERSION | Do not attempt to restore the conflicting resource. |
USE_EXISTING_VERSION_VALUE | Do not attempt to restore the conflicting resource. |
Static Methods | |
---|---|
Name | Description |
forNumber(int value) | |
getDescriptor() | |
internalGetValueMap() | |
valueOf(Descriptors.EnumValueDescriptor desc) | |
valueOf(int value) | Deprecated. Use #forNumber(int) instead. |
valueOf(String name) | |
values() |
Methods | |
---|---|
Name | Description |
getDescriptorForType() | |
getNumber() | |
getValueDescriptor() |