OS Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. containerregistry. models. OS
- com.
- com.
public final class OS
extends ExpandableStringEnum<OS>
The OS of agent machine.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final OS |
LINUX
Static value Linux for OS. |
static final OS |
WINDOWS
Static value Windows for OS. |
Constructor Summary
Constructor | Description |
---|---|
OS() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of OS value. |
Method Summary
Modifier and Type | Method and Description |
---|---|
static OS |
fromString(String name)
Creates or finds a OS from its string representation. |
static Collection<OS> |
values()
Gets known OS values. |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
LINUX
public static final OS LINUX
Static value Linux for OS.
WINDOWS
public static final OS WINDOWS
Static value Windows for OS.
Constructor Details
OS
@Deprecated
public OS()
Deprecated
Creates a new instance of OS value.
Method Details
fromString
public static OS fromString(String name)
Creates or finds a OS from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known OS values.
Returns:
Applies to
Azure SDK for Java