你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
Disk.DefinitionStages.WithOSDiskFromImage Interface
public interface WithOSDiskFromImage
The stage of the managed disk definition allowing to choose source operating system image.
Method Summary
Modifier and Type | Method and Description |
---|---|
Disk. |
fromImage(String imageId, OperatingSystemTypes osType)
Specifies the ID of an image containing the operating system. |
Disk. |
fromImage(VirtualMachineCustomImage image)
Specifies a custom image containing the operating system. |
Disk. |
fromImage(VirtualMachineImage image)
Specifies an image containing the operating system. |
Method Details
fromImage
public WithCreateAndSize fromImage(String imageId, OperatingSystemTypes osType)
Specifies the ID of an image containing the operating system.
Parameters:
Returns:
fromImage
public WithCreateAndSize fromImage(VirtualMachineCustomImage image)
Specifies a custom image containing the operating system.
Parameters:
Returns:
fromImage
public WithCreateAndSize fromImage(VirtualMachineImage image)
Specifies an image containing the operating system.
Parameters:
Returns: