public enum RestoreConfig.VolumeDataRestorePolicy extends Enum<RestoreConfig.VolumeDataRestorePolicy> implements ProtocolMessageEnum
Defines how volume data should be restored
Protobuf enum google.events.cloud.gkebackup.v1.RestoreConfig.VolumeDataRestorePolicy
Implements
ProtocolMessageEnumStatic Fields |
|
---|---|
Name | Description |
NO_VOLUME_DATA_RESTORATION |
For each PVC to be restored, PVCs will be created 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_VALUE |
For each PVC to be restored, PVCs will be created 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. |
RESTORE_VOLUME_DATA_FROM_BACKUP |
For each PVC to be restored, will create a new underlying volume (and PV) from the corresponding VolumeBackup contained within the Backup. |
RESTORE_VOLUME_DATA_FROM_BACKUP_VALUE |
For each PVC to be restored, will create a new underlying volume (and PV) from the corresponding VolumeBackup contained within the Backup. |
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). Note that option is likely only usable when restoring a workload to its original cluster. |
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). Note that option is likely only usable when restoring a workload to its original cluster. |
UNRECOGNIZED |
|
VOLUME_DATA_RESTORE_POLICY_UNSPECIFIED |
Unspecified (illegal). |
VOLUME_DATA_RESTORE_POLICY_UNSPECIFIED_VALUE |
Unspecified (illegal). |
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() |