Class OSDiskType
java.lang.Object
com.azure.core.util.ExpandableStringEnum<OSDiskType>
com.azure.resourcemanager.containerservice.models.OSDiskType
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
The OS disk type to be used for machines in the agent pool.
The default is 'Ephemeral' if the VM supports it and has a cache disk larger than the requested OSDiskSizeGB.
Otherwise, defaults to 'Managed'. May not be changed after creation. For more information see [Ephemeral
OS](https://docs.microsoft.com/azure/aks/cluster-configuration#ephemeral-os).
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final OSDiskTypeStatic value Ephemeral for OSDiskType.static final OSDiskTypeStatic value Managed for OSDiskType. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic OSDiskTypefromString(String name) Creates or finds a OSDiskType from its string representation.static Collection<OSDiskType> values()Gets known OSDiskType values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
MANAGED
Static value Managed for OSDiskType. -
EPHEMERAL
Static value Ephemeral for OSDiskType.
-
-
Constructor Details
-
OSDiskType
Deprecated.Use thefromString(String)factory method.Creates a new instance of OSDiskType value.
-
-
Method Details
-
fromString
Creates or finds a OSDiskType from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding OSDiskType.
-
values
Gets known OSDiskType values.- Returns:
- known OSDiskType values.
-
fromString(String)factory method.