VirtualMachineScaleSet.DefinitionStages.WithOS 接口
定义
The stage of the virtual machine scale set 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 should be used.
|
withLatestWindowsImage(String publisher, String offer, String sku) |
Specifies that the latest version of the specified marketplace Windows image should be used.
|
withLinuxCustomImage(String customImageId) |
Specifies the ID of a Linux custom image to be used.
|
withPopularLinuxImage(KnownLinuxVirtualMachineImage knownImage) |
Specifies a known marketplace Linux image used as the virtual machine's operating system.
|
withPopularWindowsImage(KnownWindowsVirtualMachineImage knownImage) |
Specifies a known marketplace Windows image used as the operating system for the virtual machines in the scale set.
|
withSpecificLinuxImageVersion(ImageReference imageReference) |
Specifies the specific version of a market-place Linux image that should be used.
|
withSpecificWindowsImageVersion(ImageReference imageReference) |
Specifies the specific version of a marketplace Windows image needs to be used.
|
withStoredLinuxImage(String imageUrl) |
Specifies the user (custom) Linux image used as the virtual machine's operating system.
|
withStoredWindowsImage(String imageUrl) |
Specifies the user (custom) Windows image to be used as the operating system for the virtual machines in the scale set.
|
withWindowsCustomImage(String customImageId) |
Specifies the ID of a Windows custom image to be used.
|