Snapshot.DefinitionStages.WithWindowsSnapshotSource Interface

public static interface Snapshot.DefinitionStages.WithWindowsSnapshotSource

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

Method Summary

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

Specifies the source Windows OS managed disk.

abstract WithCreate withWindowsFromDisk(String sourceDiskId)

Specifies the source Windows OS managed disk.

abstract WithCreate withWindowsFromSnapshot(Snapshot sourceSnapshot)

Specifies the source Windows OS managed snapshot.

abstract WithCreate withWindowsFromSnapshot(String sourceSnapshotId)

Specifies the source Windows OS managed snapshot.

abstract WithCreate withWindowsFromVhd(String vhdUrl)

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

abstract WithCreate withWindowsFromVhd(String vhdUrl, String storageAccountId)

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

Method Details

withWindowsFromDisk

public abstract Snapshot.DefinitionStages.WithCreate withWindowsFromDisk(Disk sourceDisk)

Specifies the source Windows OS managed disk.

Parameters:

sourceDisk - a source managed disk

Returns:

the next stage of the definition

withWindowsFromDisk

public abstract Snapshot.DefinitionStages.WithCreate withWindowsFromDisk(String sourceDiskId)

Specifies the source Windows OS managed disk.

Parameters:

sourceDiskId - a source managed disk resource ID

Returns:

the next stage of the definition

withWindowsFromSnapshot

public abstract Snapshot.DefinitionStages.WithCreate withWindowsFromSnapshot(Snapshot sourceSnapshot)

Specifies the source Windows OS managed snapshot.

Parameters:

sourceSnapshot - a source snapshot

Returns:

the next stage of the definition

withWindowsFromSnapshot

public abstract Snapshot.DefinitionStages.WithCreate withWindowsFromSnapshot(String sourceSnapshotId)

Specifies the source Windows OS managed snapshot.

Parameters:

sourceSnapshotId - a snapshot resource ID

Returns:

the next stage of the definition

withWindowsFromVhd

public abstract Snapshot.DefinitionStages.WithCreate withWindowsFromVhd(String vhdUrl)

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

Parameters:

vhdUrl - the source VHD URL

Returns:

the next stage of the definition

withWindowsFromVhd

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

Specifies the source specialized or generalized Windows 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