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

Specifies the source Linux OS managed disk.

abstract WithCreateAndSize withLinuxFromDisk(String sourceDiskId)

Specifies the source Linux OS managed disk.

abstract WithCreateAndSize withLinuxFromSnapshot(Snapshot sourceSnapshot)

Specifies the source Linux OS managed snapshot.

abstract WithCreateAndSize withLinuxFromSnapshot(String sourceSnapshotId)

Specifies the source Linux OS managed snapshot.

abstract WithStorageAccount 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:

sourceDisk - source managed disk

Returns:

the next stage of the definition

withLinuxFromDisk

public abstract Disk.DefinitionStages.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 abstract Disk.DefinitionStages.WithCreateAndSize withLinuxFromSnapshot(Snapshot sourceSnapshot)

Specifies the source Linux OS managed snapshot.

Parameters:

sourceSnapshot - source snapshot

Returns:

the next stage of the definition

withLinuxFromSnapshot

public abstract Disk.DefinitionStages.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 abstract Disk.DefinitionStages.WithStorageAccount 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