Class OSType
java.lang.Object
com.azure.core.util.ExpandableStringEnum<OSType>
com.azure.resourcemanager.containerservice.models.OSType
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
OsType to be used to specify os type. Choose from Linux and Windows. Default to Linux.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic OSTypefromString(String name) Creates or finds a OSType from its string representation.static Collection<OSType> values()Gets known OSType values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
LINUX
Static value Linux for OSType. -
WINDOWS
Static value Windows for OSType.
-
-
Constructor Details
-
OSType
Deprecated.Use thefromString(String)factory method.Creates a new instance of OSType value.
-
-
Method Details
-
fromString
Creates or finds a OSType from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding OSType.
-
values
Gets known OSType values.- Returns:
- known OSType values.
-
fromString(String)factory method.