Snapshot.DefinitionStages.WithDataSnapshotFromDisk Interface
public static interface Snapshot.DefinitionStages.WithDataSnapshotFromDisk
The stage of the managed disk definition allowing to choose managed disk containing data.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract
With |
withDataFromDisk(Disk managedDisk)
Specifies the source data managed disk. |
abstract
With |
withDataFromDisk(String managedDiskId)
Specifies the ID of source data managed disk. |
Method Details
withDataFromDisk
public abstract Snapshot.DefinitionStages.WithCreate withDataFromDisk(Disk managedDisk)
Specifies the source data managed disk.
Parameters:
Returns:
withDataFromDisk
public abstract Snapshot.DefinitionStages.WithCreate withDataFromDisk(String managedDiskId)
Specifies the ID of source data managed disk.
Parameters:
Returns:
Applies to
Azure SDK for Java