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.DefinitionStages.WithCreateAndSize withLinuxFromDisk(Disk sourceDisk)

Specifies the source Linux OS managed disk.

Disk.DefinitionStages.WithCreateAndSize withLinuxFromDisk(String sourceDiskId)

Specifies the source Linux OS managed disk.

Disk.DefinitionStages.WithCreateAndSize withLinuxFromSnapshot(Snapshot sourceSnapshot)

Specifies the source Linux OS managed snapshot.

Disk.DefinitionStages.WithCreateAndSize withLinuxFromSnapshot(String sourceSnapshotId)

Specifies the source Linux OS managed snapshot.

Disk.DefinitionStages.WithCreateAndSize 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:

sourceDisk - source managed disk

Returns:

the next stage of the definition

withLinuxFromDisk

public WithCreateAndSize withLinuxFromDisk(String sourceDiskId)

Specifies the source Linux OS managed disk.

Parameters:

sourceDiskId - source managed disk resource ID

Returns:

the next stage of the definition

withLinuxFromSnapshot

public WithCreateAndSize withLinuxFromSnapshot(Snapshot sourceSnapshot)

Specifies the source Linux OS managed snapshot.

Parameters:

sourceSnapshot - source snapshot

Returns:

the next stage of the definition

withLinuxFromSnapshot

public WithCreateAndSize withLinuxFromSnapshot(String sourceSnapshotId)

Specifies the source Linux OS managed snapshot.

Parameters:

sourceSnapshotId - snapshot resource ID

Returns:

the next stage of the definition

withLinuxFromVhd

public WithCreateAndSize withLinuxFromVhd(String vhdUrl)

Specifies the source specialized or generalized Linux OS VHD.

Parameters:

vhdUrl - the source VHD URL

Returns:

the next stage of the definition

Applies to