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
Use the fromString(String name) factory method.
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:
name
- a name to look for.
Returns:
the corresponding OS.
values
public static Collection
Gets known OS values.
Returns:
known OS values.
Applies to
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
Azure SDK for Java