Interface VirtualMachineScaleSet.DefinitionStages.WithOS
-
- All Known Subinterfaces:
VirtualMachineScaleSet.DefinitionManaged,VirtualMachineScaleSet.DefinitionManagedOrUnmanaged,VirtualMachineScaleSet.DefinitionShared,VirtualMachineScaleSet.DefinitionStages.WithInternalInternalLoadBalancerNatPool,VirtualMachineScaleSet.DefinitionStages.WithInternalLoadBalancerBackendOrNatPool,VirtualMachineScaleSet.DefinitionUnmanaged
- Enclosing interface:
- VirtualMachineScaleSet.DefinitionStages
public static interface VirtualMachineScaleSet.DefinitionStages.WithOSThe stage of the virtual machine scale set definition allowing to specify the operating system image.
-
-
Method Summary
-
-
-
Method Detail
-
withPopularWindowsImage
VirtualMachineScaleSet.DefinitionStages.WithWindowsAdminUsernameManagedOrUnmanaged withPopularWindowsImage(KnownWindowsVirtualMachineImage knownImage)
Specifies a known marketplace Windows image used as the operating system for the virtual machines in the scale set.- Parameters:
knownImage- a known market-place image- Returns:
- the next stage of the definition
-
withLatestWindowsImage
VirtualMachineScaleSet.DefinitionStages.WithWindowsAdminUsernameManagedOrUnmanaged withLatestWindowsImage(String publisher, String offer, String sku)
Specifies that the latest version of the specified marketplace Windows image should be used.- Parameters:
publisher- specifies the publisher of the imageoffer- specifies the offer of the imagesku- specifies the SKU of the image- Returns:
- the next stage of the definition
-
withSpecificWindowsImageVersion
VirtualMachineScaleSet.DefinitionStages.WithWindowsAdminUsernameManagedOrUnmanaged withSpecificWindowsImageVersion(ImageReference imageReference)
Specifies the specific version of a marketplace Windows image needs to be used.- Parameters:
imageReference- describes publisher, offer, SKU and version of the marketplace image- Returns:
- the next stage of the definition
-
withGeneralizedWindowsCustomImage
VirtualMachineScaleSet.DefinitionStages.WithWindowsAdminUsernameManaged withGeneralizedWindowsCustomImage(String customImageId)
Specifies the ID of a generalized Windows custom image to be used.- Parameters:
customImageId- the resource ID of the custom image- Returns:
- the next stage of the definition
-
withSpecializedWindowsCustomImage
VirtualMachineScaleSet.DefinitionStages.WithWindowsCreateManaged withSpecializedWindowsCustomImage(String customImageId)
Specifies the ID of a specialized Windows custom image to be used.- Parameters:
customImageId- the resource ID of the custom image- Returns:
- the next stage of the definition
-
withStoredWindowsImage
VirtualMachineScaleSet.DefinitionStages.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:
imageUrl- the URL of the VHD- Returns:
- the next stage of the definition
-
withPopularLinuxImage
VirtualMachineScaleSet.DefinitionStages.WithLinuxRootUsernameManagedOrUnmanaged withPopularLinuxImage(KnownLinuxVirtualMachineImage knownImage)
Specifies a known marketplace Linux image used as the virtual machine's operating system.- Parameters:
knownImage- a known market-place image- Returns:
- the next stage of the definition
-
withLatestLinuxImage
VirtualMachineScaleSet.DefinitionStages.WithLinuxRootUsernameManagedOrUnmanaged withLatestLinuxImage(String publisher, String offer, String sku)
Specifies that the latest version of a marketplace Linux image should be used.- Parameters:
publisher- the publisher of the imageoffer- the offer of the imagesku- the SKU of the image- Returns:
- the next stage of the definition
-
withSpecificLinuxImageVersion
VirtualMachineScaleSet.DefinitionStages.WithLinuxRootUsernameManagedOrUnmanaged withSpecificLinuxImageVersion(ImageReference imageReference)
Specifies the specific version of a market-place Linux image that should be used.- Parameters:
imageReference- describes the publisher, offer, SKU and version of the market-place image- Returns:
- the next stage of the definition
-
withGeneralizedLinuxCustomImage
VirtualMachineScaleSet.DefinitionStages.WithLinuxRootUsernameManaged withGeneralizedLinuxCustomImage(String customImageId)
Specifies the ID of a generalized Linux custom image to be used.- Parameters:
customImageId- the resource ID of the custom image- Returns:
- the next stage of the definition
-
withSpecializedLinuxCustomImage
VirtualMachineScaleSet.DefinitionStages.WithLinuxCreateManaged withSpecializedLinuxCustomImage(String customImageId)
Specifies the ID of a specialized Linux custom image to be used.- Parameters:
customImageId- the resource ID of the custom image- Returns:
- the next stage of the definition
-
withStoredLinuxImage
VirtualMachineScaleSet.DefinitionStages.WithLinuxRootUsernameUnmanaged withStoredLinuxImage(String imageUrl)
Specifies the user (custom) Linux image used as the virtual machine's operating system.- Parameters:
imageUrl- the URL the the VHD- Returns:
- the next stage of the definition
-
-