Interface Disk.DefinitionStages.WithDataDiskFromSnapshot
-
- All Known Subinterfaces:
Disk.Definition,Disk.DefinitionStages.WithDataDiskSource
- Enclosing interface:
- Disk.DefinitionStages
public static interface Disk.DefinitionStages.WithDataDiskFromSnapshotThe stage of the managed disk definition allowing to choose managed snapshot containing data.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Disk.DefinitionStages.WithCreateAndSizefromSnapshot(Snapshot snapshot)Specifies the source data managed snapshot.Disk.DefinitionStages.WithCreateAndSizefromSnapshot(String snapshotId)Specifies the source data managed snapshot.
-
-
-
Method Detail
-
fromSnapshot
Disk.DefinitionStages.WithCreateAndSize fromSnapshot(String snapshotId)
Specifies the source data managed snapshot.- Parameters:
snapshotId- snapshot resource ID- Returns:
- the next stage of the definition
-
fromSnapshot
Disk.DefinitionStages.WithCreateAndSize fromSnapshot(Snapshot snapshot)
Specifies the source data managed snapshot.- Parameters:
snapshot- snapshot resource- Returns:
- the next stage of the definition
-
-