Class OS
java.lang.Object
com.azure.core.util.ExpandableStringEnum<OS>
com.azure.resourcemanager.containerregistry.models.OS
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
The OS of agent machine.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic OSfromString(String name) Creates or finds a OS from its string representation.static Collection<OS> values()Gets known OS values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
WINDOWS
Static value Windows for OS. -
LINUX
Static value Linux for OS.
-
-
Constructor Details
-
OS
Deprecated.Use thefromString(String)factory method.Creates a new instance of OS value.
-
-
Method Details
-
fromString
Creates or finds a OS from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding OS.
-
values
Gets known OS values.- Returns:
- known OS values.
-
fromString(String)factory method.