VirtualMachineScaleSet.DefinitionStages.WithOS Interface
public interface WithOS
The stage of the virtual machine scale set definition allowing to specify the operating system image.
Method Summary
Method Details
withLatestLinuxImage
public WithLinuxRootUsernameManagedOrUnmanaged withLatestLinuxImage(String publisher, String offer, String sku)
Specifies that the latest version of a marketplace Linux image should be used.
Parameters:
Returns:
withLatestWindowsImage
public WithWindowsAdminUsernameManagedOrUnmanaged withLatestWindowsImage(String publisher, String offer, String sku)
Specifies that the latest version of the specified marketplace Windows image should be used.
Parameters:
Returns:
withLinuxCustomImage
public WithLinuxRootUsernameManaged withLinuxCustomImage(String customImageId)
Specifies the ID of a Linux custom image to be used.
Parameters:
Returns:
withPopularLinuxImage
public WithLinuxRootUsernameManagedOrUnmanaged withPopularLinuxImage(KnownLinuxVirtualMachineImage knownImage)
Specifies a known marketplace Linux image used as the virtual machine's operating system.
Parameters:
Returns:
withPopularWindowsImage
public WithWindowsAdminUsernameManagedOrUnmanaged withPopularWindowsImage(KnownWindowsVirtualMachineImage knownImage)
Specifies a known marketplace Windows image used as the operating system for the virtual machines in the scale set.
Parameters:
Returns:
withSpecificLinuxImageVersion
public WithLinuxRootUsernameManagedOrUnmanaged withSpecificLinuxImageVersion(ImageReference imageReference)
Specifies the specific version of a market-place Linux image that should be used.
Parameters:
Returns:
withSpecificWindowsImageVersion
public WithWindowsAdminUsernameManagedOrUnmanaged withSpecificWindowsImageVersion(ImageReference imageReference)
Specifies the specific version of a marketplace Windows image needs to be used.
Parameters:
Returns:
withStoredLinuxImage
public WithLinuxRootUsernameUnmanaged withStoredLinuxImage(String imageUrl)
Specifies the user (custom) Linux image used as the virtual machine's operating system.
Parameters:
Returns:
withStoredWindowsImage
public WithWindowsAdminUsernameUnmanaged withStoredWindowsImage(String imageUrl)
Specifies the user (custom) Windows image to be used as the operating system for the virtual machines in the scale set.
Parameters:
Returns:
withWindowsCustomImage
public WithWindowsAdminUsernameManaged withWindowsCustomImage(String customImageId)
Specifies the ID of a Windows custom image to be used.
Parameters:
Returns:
Applies to
Azure SDK for Java