Snapshot.DefinitionStages.WithLinuxSnapshotSource Interface

public static interface Snapshot.DefinitionStages.WithLinuxSnapshotSource

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

Method Summary

Modifier and Type Method and Description
abstract WithCreate withLinuxFromDisk(Disk sourceDisk)

Specifies the source Linux OS managed disk.

abstract WithCreate withLinuxFromDisk(String sourceDiskId)

Specifies the source Linux OS managed disk.

abstract WithCreate withLinuxFromSnapshot(Snapshot sourceSnapshot)

Specifies the source Linux OS managed snapshot.

abstract WithCreate withLinuxFromSnapshot(String sourceSnapshotId)

Specifies the source Linux OS managed snapshot.

abstract WithCreate withLinuxFromVhd(String vhdUrl)

Specifies the source specialized or generalized Linux OS VHD when it belongs to the same subscription.

abstract WithCreate withLinuxFromVhd(String vhdUrl, String storageAccountId)

Specifies the source specialized or generalized Linux OS VHD and the storage account ID.

Method Details

withLinuxFromDisk

public abstract Snapshot.DefinitionStages.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 abstract Snapshot.DefinitionStages.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 abstract Snapshot.DefinitionStages.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 abstract Snapshot.DefinitionStages.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 abstract Snapshot.DefinitionStages.WithCreate withLinuxFromVhd(String vhdUrl)

Specifies the source specialized or generalized Linux OS VHD when it belongs to the same subscription.

Parameters:

vhdUrl - the source VHD URL

Returns:

the next stage of the definition

withLinuxFromVhd

public abstract Snapshot.DefinitionStages.WithCreate withLinuxFromVhd(String vhdUrl, String storageAccountId)

Specifies the source specialized or generalized Linux OS VHD and the storage account ID.

Parameters:

vhdUrl - the source VHD URL
storageAccountId - the storage account ID

Returns:

the next stage of the definition

Applies to