OSType Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. containerservice. models. OSType
- com.
- com.
public final class OSType
extends ExpandableStringEnum<OSType>
The operating system type. The default is Linux.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
| static final OSType |
LINUX
Use Linux. |
| static final OSType |
WINDOWS
Use Windows. |
Constructor Summary
| Constructor | Description |
|---|---|
| OSType() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of OSType value. |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| static OSType |
fromString(String name)
Creates or finds a OSType from its string representation. |
| static Collection<OSType> |
values()
Gets known OSType values. |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
LINUX
public static final OSType LINUX
Use Linux.
WINDOWS
public static final OSType WINDOWS
Use Windows.
Constructor Details
OSType
@Deprecated
public OSType()
Deprecated
Creates a new instance of OSType value.
Method Details
fromString
public static OSType fromString(String name)
Creates or finds a OSType from its string representation.
Parameters:
Returns:
values
public static Collection<OSType> values()
Gets known OSType values.
Returns: