Snapshot.DefinitionStages.WithLinuxSnapshotSource Interface

public interface WithLinuxSnapshotSource

The stage of the managed snapshot definition allowing to choose a Linux OS source.

Method Summary

Modifier and Type Method and Description
Snapshot.DefinitionStages.WithCreate withLinuxFromDisk(Disk sourceDisk)

Specifies the source Linux OS managed disk.

Snapshot.DefinitionStages.WithCreate withLinuxFromDisk(String sourceDiskId)

Specifies the source Linux OS managed disk.

Snapshot.DefinitionStages.WithCreate withLinuxFromSnapshot(Snapshot sourceSnapshot)

Specifies the source Linux OS managed snapshot.

Snapshot.DefinitionStages.WithCreate withLinuxFromSnapshot(String sourceSnapshotId)

Specifies the source Linux OS managed snapshot.

Snapshot.DefinitionStages.WithCreate withLinuxFromVhd(String vhdUrl)

Specifies the source specialized or generalized Linux OS VHD.

Method Details

withLinuxFromDisk

public WithCreate withLinuxFromDisk(Disk sourceDisk)

Specifies the source Linux OS managed disk.

Parameters:

sourceDisk - a source managed disk

Returns:

the next stage of the definition

withLinuxFromDisk

public WithCreate withLinuxFromDisk(String sourceDiskId)

Specifies the source Linux OS managed disk.

Parameters:

sourceDiskId - a source managed disk resource ID

Returns:

the next stage of the definition

withLinuxFromSnapshot

public WithCreate withLinuxFromSnapshot(Snapshot sourceSnapshot)

Specifies the source Linux OS managed snapshot.

Parameters:

sourceSnapshot - a source snapshot

Returns:

the next stage of the definition

withLinuxFromSnapshot

public WithCreate withLinuxFromSnapshot(String sourceSnapshotId)

Specifies the source Linux OS managed snapshot.

Parameters:

sourceSnapshotId - a snapshot resource ID

Returns:

the next stage of the definition

withLinuxFromVhd

public WithCreate 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