Disk.DefinitionStages.WithDataDiskFromDisk Interface
public interface WithDataDiskFromDisk
The stage of the managed disk definition allowing to choose managed disk containing data.
Method Summary
Modifier and Type | Method and Description |
---|---|
Disk. |
fromDisk(Disk managedDisk)
Specifies the source data managed disk. |
Disk. |
fromDisk(String managedDiskId)
Specifies the ID of source data managed disk. |
Method Details
fromDisk
public WithCreateAndSize fromDisk(Disk managedDisk)
Specifies the source data managed disk.
Parameters:
managedDisk
- source managed disk
Returns:
the next stage of the definition
fromDisk
public WithCreateAndSize fromDisk(String managedDiskId)
Specifies the ID of source data managed disk.
Parameters:
managedDiskId
- source managed disk resource ID
Returns:
the next stage of the definition
Applies to
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