Enum KnownWindowsVirtualMachineImage
- java.lang.Object
-
- java.lang.Enum<KnownWindowsVirtualMachineImage>
-
- com.azure.resourcemanager.compute.models.KnownWindowsVirtualMachineImage
-
- All Implemented Interfaces:
Serializable,Comparable<KnownWindowsVirtualMachineImage>
public enum KnownWindowsVirtualMachineImage extends Enum<KnownWindowsVirtualMachineImage>
The popular Azure Windows images.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description WINDOWS_DESKTOP_10_20H1_PROWindows 10 2020 H1 ProWINDOWS_SERVER_2012_R2_DATACENTERWindows Server 2012 R2 Data center.WINDOWS_SERVER_2016_DATACENTERWindows Server 2016 Data center.WINDOWS_SERVER_2019_DATACENTERWindows Server 2019 Data center.WINDOWS_SERVER_2019_DATACENTER_WITH_CONTAINERSWindows Server 2019 Data center with containers.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ImageReferenceimageReference()Stringoffer()Stringpublisher()Stringsku()static KnownWindowsVirtualMachineImagevalueOf(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.
-
-
-
Enum Constant Detail
-
WINDOWS_DESKTOP_10_20H1_PRO
public static final KnownWindowsVirtualMachineImage WINDOWS_DESKTOP_10_20H1_PRO
Windows 10 2020 H1 Pro
-
WINDOWS_SERVER_2019_DATACENTER
public static final KnownWindowsVirtualMachineImage WINDOWS_SERVER_2019_DATACENTER
Windows Server 2019 Data center.
-
WINDOWS_SERVER_2019_DATACENTER_WITH_CONTAINERS
public static final KnownWindowsVirtualMachineImage WINDOWS_SERVER_2019_DATACENTER_WITH_CONTAINERS
Windows Server 2019 Data center with containers.
-
WINDOWS_SERVER_2016_DATACENTER
public static final KnownWindowsVirtualMachineImage WINDOWS_SERVER_2016_DATACENTER
Windows Server 2016 Data center.
-
WINDOWS_SERVER_2012_R2_DATACENTER
public static final KnownWindowsVirtualMachineImage WINDOWS_SERVER_2012_R2_DATACENTER
Windows Server 2012 R2 Data center.
-
-
Method Detail
-
values
public static KnownWindowsVirtualMachineImage[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (KnownWindowsVirtualMachineImage c : KnownWindowsVirtualMachineImage.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static KnownWindowsVirtualMachineImage valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
publisher
public String publisher()
- Returns:
- the name of the image publisher
-
offer
public String offer()
- Returns:
- the name of the image offer
-
sku
public String sku()
- Returns:
- the name of the image SKU
-
imageReference
public ImageReference imageReference()
- Returns:
- the image reference
-
-