Interface Snapshot.DefinitionStages.WithOSSnapshotFromImage
- Enclosing interface:
- Snapshot.DefinitionStages
public static interface Snapshot.DefinitionStages.WithOSSnapshotFromImage
The stage of the managed disk definition allowing to choose a source operating system image.
-
Method Summary
Modifier and TypeMethodDescriptionSpecifies a custom image containing an operating system.fromImage
(VirtualMachineImage image) Specifies an image containing an operating system.fromImage
(String imageId, OperatingSystemTypes osType) Specifies an image containing an operating system.
-
Method Details
-
fromImage
Specifies an image containing an operating system.- Parameters:
imageId
- image resource IDosType
- operating system type- Returns:
- the next stage of the definition
-
fromImage
Specifies an image containing an operating system.- Parameters:
image
- the image- Returns:
- the next stage of the definition
-
fromImage
Specifies a custom image containing an operating system.- Parameters:
image
- the image- Returns:
- the next stage of the definition
-