Snapshot.DefinitionStages.WithOSSnapshotFromImage Interface
public interface WithOSSnapshotFromImage
The stage of the managed disk definition allowing to choose a source operating system image.
Method Summary
Modifier and Type | Method and Description |
---|---|
Snapshot. |
fromImage(String imageId, OperatingSystemTypes osType)
Specifies an image containing an operating system. |
Snapshot. |
fromImage(VirtualMachineCustomImage image)
Specifies a custom image containing an operating system. |
Snapshot. |
fromImage(VirtualMachineImage image)
Specifies an image containing an operating system. |
Method Details
fromImage
public WithCreate fromImage(String imageId, OperatingSystemTypes osType)
Specifies an image containing an operating system.
Parameters:
Returns:
fromImage
public WithCreate fromImage(VirtualMachineCustomImage image)
Specifies a custom image containing an operating system.
Parameters:
Returns:
fromImage
public WithCreate fromImage(VirtualMachineImage image)
Specifies an image containing an operating system.
Parameters:
Returns:
Applies to
Azure SDK for Java