Disk.DefinitionStages.WithDataDiskFromSnapshot Interface
public interface WithDataDiskFromSnapshot
The stage of the managed disk definition allowing to choose managed snapshot containing data.
Method Summary
Modifier and Type | Method and Description |
---|---|
Disk. |
fromSnapshot(Snapshot snapshot)
Specifies the source data managed snapshot. |
Disk. |
fromSnapshot(String snapshotId)
Specifies the source data managed snapshot. |
Method Details
fromSnapshot
public WithCreateAndSize fromSnapshot(Snapshot snapshot)
Specifies the source data managed snapshot.
Parameters:
snapshot
- snapshot resource
Returns:
the next stage of the definition
fromSnapshot
public WithCreateAndSize fromSnapshot(String snapshotId)
Specifies the source data managed snapshot.
Parameters:
snapshotId
- snapshot resource ID
Returns:
the next stage of the definition
Applies to
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.
Azure SDK for Java