Snapshot.DefinitionStages.WithCopyStart Interface

public static interface Snapshot.DefinitionStages.WithCopyStart

The stage of the managed snapshot definition allowing to set creationOption to CopyStart.

Method Summary

Modifier and Type Method and Description
abstract WithCreate withCopyStart()

Specifies CopyStart for CreateOption.

Method Details

withCopyStart

public abstract 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 awaitCopyStartCompletion() or awaitCopyStartCompletion(Duration maxWaitTime) to wait synchronously, or awaitCopyStartCompletionAsync() to wait asynchronously.

Returns:

the next stage of the definition

Applies to