Interface Disk.DefinitionStages.WithDataDiskFromSnapshot
- All Known Subinterfaces:
Disk.Definition
,Disk.DefinitionStages.WithDataDiskSource
- Enclosing interface:
- Disk.DefinitionStages
public static interface Disk.DefinitionStages.WithDataDiskFromSnapshot
The stage of the managed disk definition allowing to choose managed snapshot containing data.
-
Method Summary
Modifier and TypeMethodDescriptionfromSnapshot
(Snapshot snapshot) Specifies the source data managed snapshot.fromSnapshot
(String snapshotId) Specifies the source data managed snapshot.
-
Method Details
-
fromSnapshot
Specifies the source data managed snapshot.- Parameters:
snapshotId
- snapshot resource ID- Returns:
- the next stage of the definition
-
fromSnapshot
Specifies the source data managed snapshot.- Parameters:
snapshot
- snapshot resource- Returns:
- the next stage of the definition
-