你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

Snapshot.DefinitionStages.WithDataSnapshotFromDisk Interface

public interface WithDataSnapshotFromDisk

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

Method Summary

Modifier and Type Method and Description
Snapshot.DefinitionStages.WithCreate withDataFromDisk(Disk managedDisk)

Specifies the source data managed disk.

Snapshot.DefinitionStages.WithCreate withDataFromDisk(String managedDiskId)

Specifies the ID of source data managed disk.

Method Details

withDataFromDisk

public WithCreate withDataFromDisk(Disk managedDisk)

Specifies the source data managed disk.

Parameters:

managedDisk - a source managed disk

Returns:

the next stage of the definition

withDataFromDisk

public WithCreate withDataFromDisk(String managedDiskId)

Specifies the ID of source data managed disk.

Parameters:

managedDiskId - source managed disk resource ID

Returns:

the next stage of the definition

Applies to