Interface Disk.DefinitionStages.WithOSDiskFromImage
-
- Enclosing interface:
- Disk.DefinitionStages
public static interface Disk.DefinitionStages.WithOSDiskFromImageThe stage of the managed disk definition allowing to choose source operating system image.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Disk.DefinitionStages.WithCreateAndSizefromImage(VirtualMachineCustomImage image)Specifies a custom image containing the operating system.Disk.DefinitionStages.WithCreateAndSizefromImage(VirtualMachineImage image)Specifies an image containing the operating system.Disk.DefinitionStages.WithCreateAndSizefromImage(String imageId, OperatingSystemTypes osType)Specifies the ID of an image containing the operating system.
-
-
-
Method Detail
-
fromImage
Disk.DefinitionStages.WithCreateAndSize fromImage(String imageId, OperatingSystemTypes osType)
Specifies the ID of an image containing the operating system.- Parameters:
imageId- image resource IDosType- operating system type- Returns:
- the next stage of the definition
-
fromImage
Disk.DefinitionStages.WithCreateAndSize fromImage(VirtualMachineImage image)
Specifies an image containing the operating system.- Parameters:
image- the image- Returns:
- the next stage of the definition
-
fromImage
Disk.DefinitionStages.WithCreateAndSize fromImage(VirtualMachineCustomImage image)
Specifies a custom image containing the operating system.- Parameters:
image- the image- Returns:
- the next stage of the definition
-
-