Interface Snapshot.DefinitionStages.WithCopyStart
- All Known Subinterfaces:
Snapshot.Definition,Snapshot.DefinitionStages.WithCreate
- Enclosing interface:
Snapshot.DefinitionStages
public static interface Snapshot.DefinitionStages.WithCopyStart
The stage of the managed snapshot definition allowing to set creationOption to CopyStart.
-
Method Summary
Modifier and TypeMethodDescriptionSpecifies CopyStart for CreateOption.
-
Method Details
-
withCopyStart
Snapshot.DefinitionStages.WithCreate withCopyStart()Specifies CopyStart for CreateOption.CopyStart can be used when source and target regions are different as well as when they are the same. There are important scenarios (copying across zones, copying from main region to edge location and other way around) where it is necessary to use CopyStart within the same region.
Note: For now, CopyStart is only supported for creating an incremental snapshot from an incremental snapshot.
Before you can use the copied snapshot for future use (e.g. create disk), you should wait for the CopyStart completion by calling
Snapshot.awaitCopyStartCompletion()orSnapshot.awaitCopyStartCompletion(Duration)to wait synchronously, orSnapshot.awaitCopyStartCompletionAsync()to wait asynchronously.- Returns:
- the next stage of the definition
- See Also:
-