Snapshot.DefinitionStages.WithDataSnapshotFromVhd Interface

public static interface Snapshot.DefinitionStages.WithDataSnapshotFromVhd

The stage of the managed disk definition allowing to choose source data disk VHD.

Method Summary

Modifier and Type Method and Description
abstract WithCreate withDataFromVhd(String vhdUrl)

Specifies the source data VHD when it belongs to the same subscription.

abstract WithCreate withDataFromVhd(String vhdUrl, String storageAccountId)

Specifies the source data VHD and the storage account ID.

Method Details

withDataFromVhd

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

Specifies the source data VHD when it belongs to the same subscription.

Parameters:

vhdUrl - a source VHD URL

Returns:

the next stage of the definition

withDataFromVhd

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

Specifies the source data VHD and the storage account ID.

Parameters:

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

Returns:

the next stage of the definition

Applies to