Disk.DefinitionStages.WithLinuxDiskSource Interface
public interface WithLinuxDiskSource
The stage of the managed disk definition allowing to choose Linux OS source.
Method Summary
Modifier and Type | Method and Description |
---|---|
Disk. |
withLinuxFromDisk(Disk sourceDisk)
Specifies the source Linux OS managed disk. |
Disk. |
withLinuxFromDisk(String sourceDiskId)
Specifies the source Linux OS managed disk. |
Disk. |
withLinuxFromSnapshot(Snapshot sourceSnapshot)
Specifies the source Linux OS managed snapshot. |
Disk. |
withLinuxFromSnapshot(String sourceSnapshotId)
Specifies the source Linux OS managed snapshot. |
Disk. |
withLinuxFromVhd(String vhdUrl)
Specifies the source specialized or generalized Linux OS VHD. |
Method Details
withLinuxFromDisk
public WithCreateAndSize withLinuxFromDisk(Disk sourceDisk)
Specifies the source Linux OS managed disk.
Parameters:
Returns:
withLinuxFromDisk
public WithCreateAndSize withLinuxFromDisk(String sourceDiskId)
Specifies the source Linux OS managed disk.
Parameters:
Returns:
withLinuxFromSnapshot
public WithCreateAndSize withLinuxFromSnapshot(Snapshot sourceSnapshot)
Specifies the source Linux OS managed snapshot.
Parameters:
Returns:
withLinuxFromSnapshot
public WithCreateAndSize withLinuxFromSnapshot(String sourceSnapshotId)
Specifies the source Linux OS managed snapshot.
Parameters:
Returns:
withLinuxFromVhd
public WithCreateAndSize withLinuxFromVhd(String vhdUrl)
Specifies the source specialized or generalized Linux OS VHD.
Parameters:
Returns:
Applies to
Azure SDK for Java