OSType Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. compute. batch. models. OSType
- com.
- com.
public final class OSType
extends ExpandableStringEnum<OSType>
OSType enums.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
| static final OSType |
LINUX
The Linux operating system. |
| static final OSType |
WINDOWS
The Windows operating system. |
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
The Linux operating system.
WINDOWS
public static final OSType WINDOWS
The Windows operating system.
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: