VirtualMachine.DefinitionStages.WithOS 接口
定义
The stage of a virtual machine definition allowing to specify the operating system image.
public interface WithOS
方法
withLatestLinuxImage(String publisher, String offer, String sku) |
Specifies that the latest version of a marketplace Linux image is to be used as the virtual machine's OS.
|
withLatestWindowsImage(String publisher, String offer, String sku) |
Specifies that the latest version of a marketplace Windows image should to be used as the virtual machine's OS.
|
withLinuxCustomImage(String customImageId) |
Specifies the resource ID of a Linux custom image to be used as the virtual machines' OS.
|
withPopularLinuxImage(KnownLinuxVirtualMachineImage knownImage) |
Specifies a known marketplace Linux image to be used for the virtual machine's OS.
|
withPopularWindowsImage(KnownWindowsVirtualMachineImage knownImage) |
Specifies a known marketplace Windows image to be used for the virtual machine's OS.
|
withSpecializedOSDisk(Disk disk, OperatingSystemTypes osType) |
Specifies a specialized operating system managed disk to be attached to the virtual machine.
|
withSpecializedOSUnmanagedDisk(String osDiskUrl, OperatingSystemTypes osType) |
Specifies a specialized operating system unmanaged disk to be attached to the virtual machine.
|
withSpecificLinuxImageVersion(ImageReference imageReference) |
Specifies a version of a market-place Linux image to be used as the virtual machine's OS.
|
withSpecificWindowsImageVersion(ImageReference imageReference) |
Specifies a version of a marketplace Windows image to be used as the virtual machine's OS.
|
withStoredLinuxImage(String imageUrl) |
Specifies a user (generalized) Linux image to be used for the virtual machine's OS.
|
withStoredWindowsImage(String imageUrl) |
Specifies the user (generalized) Windows image to be used for the virtual machine's OS.
|
withWindowsCustomImage(String customImageId) |
Specifies the resource ID of a Windows custom image to be used as the virtual machine's OS.
|