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에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for Java