public enum KnownWindowsVirtualMachineImage extends Enum<KnownWindowsVirtualMachineImage>
Modifier and Type | Method and Description |
---|---|
ImageReference |
imageReference() |
String |
offer() |
String |
publisher() |
String |
sku() |
static KnownWindowsVirtualMachineImage |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KnownWindowsVirtualMachineImage[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KnownWindowsVirtualMachineImage WINDOWS_SERVER_2008_R2_SP1
public static final KnownWindowsVirtualMachineImage WINDOWS_SERVER_2012_DATACENTER
public static final KnownWindowsVirtualMachineImage WINDOWS_SERVER_2012_R2_DATACENTER
@Deprecated public static final KnownWindowsVirtualMachineImage WINDOWS_SERVER_2016_TECHNICAL_PREVIEW_WITH_CONTAINERS
VirtualMachine.DefinitionStages.WithOS.withLatestWindowsImage(String publisher, String offer, String sku)
and for virtual machine scale set use VirtualMachineScaleSet.DefinitionStages.WithOS.withLatestWindowsImage(String publisher, String offer, String sku)
with publisher as "MicrosoftWindowsServer", offer as "WindowsServer" and sku as "2016-Datacenter-with-Containers")}.@Deprecated public static final KnownWindowsVirtualMachineImage WINDOWS_SERVER_TECHNICAL_PREVIEW
VirtualMachine.DefinitionStages.WithOS.withLatestWindowsImage(String publisher, String offer, String sku)
and for virtual machine scale set use VirtualMachineScaleSet.DefinitionStages.WithOS.withLatestWindowsImage(String publisher, String offer, String sku)
with publisher as "MicrosoftWindowsServer", offer as "WindowsServer" and sku as "2016-Datacenter")}.public static KnownWindowsVirtualMachineImage[] values()
for (KnownWindowsVirtualMachineImage c : KnownWindowsVirtualMachineImage.values()) System.out.println(c);
public static KnownWindowsVirtualMachineImage valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String publisher()
public String offer()
public String sku()
public ImageReference imageReference()
Copyright © 2019. All rights reserved.