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>
OsType to be used to specify os type. Choose from Linux and Windows. Default to Linux.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final OSType |
LINUX
Static value Linux for OSType. |
static final OSType |
WINDOWS
Static value Windows for OSType. |
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
Static value Linux for OSType.
WINDOWS
public static final OSType WINDOWS
Static value Windows for OSType.
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
Gets known OSType values.
Returns:
Applies to
Azure SDK for Java