Snapshot.DefinitionStages.WithDataSnapshotFromSnapshot Interface
public static interface Snapshot.DefinitionStages.WithDataSnapshotFromSnapshot
The stage of the managed disk definition allowing to choose managed snapshot containing data.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract
With |
withDataFromSnapshot(Snapshot snapshot)
Specifies the source data managed snapshot. |
abstract
With |
withDataFromSnapshot(String snapshotId)
Specifies the source data managed snapshot. |
Method Details
withDataFromSnapshot
public abstract Snapshot.DefinitionStages.WithCreate withDataFromSnapshot(Snapshot snapshot)
Specifies the source data managed snapshot.
Parameters:
snapshot
- a snapshot resource
Returns:
the next stage of the definition
withDataFromSnapshot
public abstract Snapshot.DefinitionStages.WithCreate withDataFromSnapshot(String snapshotId)
Specifies the source data managed snapshot.
Parameters:
snapshotId
- a snapshot resource ID
Returns:
the next stage of the definition
Applies to
Colabore connosco no GitHub
A origem deste conteúdo pode ser encontrada no GitHub, onde também pode criar e rever problemas e pedidos Pull. Para mais informações, consulte o nosso guia do contribuidor.
Azure SDK for Java