Disk.DefinitionStages.WithDataDiskFromSnapshot Interface
public static interface Disk.DefinitionStages.WithDataDiskFromSnapshot
The stage of the managed disk definition allowing to choose managed snapshot containing data.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract
With |
fromSnapshot(Snapshot snapshot)
Specifies the source data managed snapshot. |
abstract
With |
fromSnapshot(String snapshotId)
Specifies the source data managed snapshot. |
Method Details
fromSnapshot
public abstract Disk.DefinitionStages.WithCreateAndSize fromSnapshot(Snapshot snapshot)
Specifies the source data managed snapshot.
Parameters:
snapshot
- snapshot resource
Returns:
the next stage of the definition
fromSnapshot
public abstract Disk.DefinitionStages.WithCreateAndSize fromSnapshot(String snapshotId)
Specifies the source data managed snapshot.
Parameters:
snapshotId
- snapshot resource ID
Returns:
the next stage of the definition
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for Java