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