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

Snapshot.DefinitionStages.WithDataSnapshotFromSnapshot Interface

public interface WithDataSnapshotFromSnapshot

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

Method Summary

Modifier and Type Method and Description
Snapshot.DefinitionStages.WithCreate withDataFromSnapshot(Snapshot snapshot)

Specifies the source data managed snapshot.

Snapshot.DefinitionStages.WithCreate withDataFromSnapshot(String snapshotId)

Specifies the source data managed snapshot.

Method Details

withDataFromSnapshot

public WithCreate withDataFromSnapshot(Snapshot snapshot)

Specifies the source data managed snapshot.

Parameters:

snapshot - a snapshot resource

Returns:

the next stage of the definition

withDataFromSnapshot

public WithCreate withDataFromSnapshot(String snapshotId)

Specifies the source data managed snapshot.

Parameters:

snapshotId - a snapshot resource ID

Returns:

the next stage of the definition

Applies to