Class OperatingSystemType
java.lang.Object
com.azure.core.util.ExpandableStringEnum<OperatingSystemType>
com.azure.resourcemanager.compute.models.OperatingSystemType
public final class OperatingSystemType
extends com.azure.core.util.ExpandableStringEnum<OperatingSystemType>
Gets the Operating System type.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final OperatingSystemTypeStatic value Linux for OperatingSystemType.static final OperatingSystemTypeStatic value Windows for OperatingSystemType. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic OperatingSystemTypefromString(String name) Creates or finds a OperatingSystemType from its string representation.static Collection<OperatingSystemType>values()Gets known OperatingSystemType values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
WINDOWS
Static value Windows for OperatingSystemType. -
LINUX
Static value Linux for OperatingSystemType.
-
-
Constructor Details
-
OperatingSystemType
public OperatingSystemType()
-
-
Method Details
-
fromString
Creates or finds a OperatingSystemType from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding OperatingSystemType.
-
values
Gets known OperatingSystemType values.- Returns:
- known OperatingSystemType values.
-