Class OSSku
java.lang.Object
com.azure.core.util.ExpandableStringEnum<OSSku>
com.azure.resourcemanager.containerservice.models.OSSku
Specifies the OS SKU used by the agent pool. The default is Ubuntu if OSType is Linux. The default is Windows2019
when Kubernetes <= 1.24 or Windows2022 when Kubernetes >= 1.25 if OSType is Windows.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final OSSkuStatic value AzureLinux for OSSku.static final OSSkuStatic value CBLMariner for OSSku.static final OSSkuStatic value Ubuntu for OSSku.static final OSSkuStatic value Windows2019 for OSSku.static final OSSkuStatic value Windows2022 for OSSku. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic OSSkufromString(String name) Creates or finds a OSSku from its string representation.static Collection<OSSku>values()Gets known OSSku values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
UBUNTU
Static value Ubuntu for OSSku. -
AZURE_LINUX
Static value AzureLinux for OSSku. -
CBLMARINER
Static value CBLMariner for OSSku. -
WINDOWS2019
Static value Windows2019 for OSSku. -
WINDOWS2022
Static value Windows2022 for OSSku.
-
-
Constructor Details
-
OSSku
Deprecated.Use thefromString(String)factory method.Creates a new instance of OSSku value.
-
-
Method Details
-
fromString
Creates or finds a OSSku from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding OSSku.
-
values
Gets known OSSku values.- Returns:
- known OSSku values.
-
fromString(String)factory method.