Backup for GKE v1 API - Enum RestoreConfig.Types.VolumeDataRestorePolicy (2.2.0)

public enum RestoreConfig.Types.VolumeDataRestorePolicy

Reference documentation and code samples for the Backup for GKE v1 API enum RestoreConfig.Types.VolumeDataRestorePolicy.

Defines how volume data should be restored.

Namespace

Google.Cloud.GkeBackup.V1

Assembly

Google.Cloud.GkeBackup.V1.dll

Fields

NameDescription
NoVolumeDataRestoration

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.

RestoreVolumeDataFromBackup

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

ReuseVolumeHandleFromBackup

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.

Unspecified

Unspecified (illegal).