Enum RestoreConfig.VolumeDataRestorePolicy (0.23.0)

public enum RestoreConfig.VolumeDataRestorePolicy extends Enum<RestoreConfig.VolumeDataRestorePolicy> implements ProtocolMessageEnum

Defines how volume data should be restored.

Protobuf enum google.cloud.gkebackup.v1.RestoreConfig.VolumeDataRestorePolicy

Implements

ProtocolMessageEnum

Static Fields

NameDescription
NO_VOLUME_DATA_RESTORATION

For each PVC to be restored, create PVC without any particular action to restore data. In this case, the normal Kubernetes provisioning logic would kick in, and this would likely result in either dynamically provisioning blank PVs or binding to statically provisioned PVs.

NO_VOLUME_DATA_RESTORATION = 3;

NO_VOLUME_DATA_RESTORATION_VALUE

For each PVC to be restored, create PVC without any particular action to restore data. In this case, the normal Kubernetes provisioning logic would kick in, and this would likely result in either dynamically provisioning blank PVs or binding to statically provisioned PVs.

NO_VOLUME_DATA_RESTORATION = 3;

RESTORE_VOLUME_DATA_FROM_BACKUP

For each PVC to be restored, create a new underlying volume and PV from the corresponding VolumeBackup contained within the Backup.

RESTORE_VOLUME_DATA_FROM_BACKUP = 1;

RESTORE_VOLUME_DATA_FROM_BACKUP_VALUE

For each PVC to be restored, create a new underlying volume and PV from the corresponding VolumeBackup contained within the Backup.

RESTORE_VOLUME_DATA_FROM_BACKUP = 1;

REUSE_VOLUME_HANDLE_FROM_BACKUP

For each PVC to be restored, attempt to reuse the original PV contained in the Backup (with its original underlying volume). This option is likely only usable when restoring a workload to its original cluster.

REUSE_VOLUME_HANDLE_FROM_BACKUP = 2;

REUSE_VOLUME_HANDLE_FROM_BACKUP_VALUE

For each PVC to be restored, attempt to reuse the original PV contained in the Backup (with its original underlying volume). This option is likely only usable when restoring a workload to its original cluster.

REUSE_VOLUME_HANDLE_FROM_BACKUP = 2;

UNRECOGNIZED
VOLUME_DATA_RESTORE_POLICY_UNSPECIFIED

Unspecified (illegal).

VOLUME_DATA_RESTORE_POLICY_UNSPECIFIED = 0;

VOLUME_DATA_RESTORE_POLICY_UNSPECIFIED_VALUE

Unspecified (illegal).

VOLUME_DATA_RESTORE_POLICY_UNSPECIFIED = 0;

Static Methods

NameDescription
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

NameDescription
getDescriptorForType()
getNumber()
getValueDescriptor()