Snapshot.DefinitionStages.WithDataSnapshotFromSnapshot Interface
public interface WithDataSnapshotFromSnapshot
The stage of the managed disk definition allowing to choose managed snapshot containing data.
Modifier and Type | Method and Description |
---|---|
Snapshot. |
with Specifies the source data managed snapshot. |
Snapshot. |
with Specifies the source data managed snapshot. |
withDataFromSnapshot
public WithCreate withDataFromSnapshot(Snapshot snapshot)
Specifies the source data managed snapshot.
Parameters:
snapshot
- a snapshot resource
Returns:
the next stage of the definition
withDataFromSnapshot
public WithCreate withDataFromSnapshot(String snapshotId)
Specifies the source data managed snapshot.
Parameters:
snapshotId
- a snapshot resource ID
Returns:
the next stage of the definition
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java feedback
Azure SDK for Java is an open source project. Select a link to provide feedback: