OSDiskType Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. containerservice. models. OSDiskType
- com.
- com.
public final class OSDiskType
extends ExpandableStringEnum<OSDiskType>
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
Modifier and Type | Field and Description |
---|---|
static final
OSDisk |
EPHEMERAL
Static value Ephemeral for OSDisk |
static final
OSDisk |
MANAGED
Static value Managed for OSDisk |
Constructor Summary
Constructor | Description |
---|---|
OSDiskType() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of OSDisk |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
OSDisk |
fromString(String name)
Creates or finds a OSDisk |
static
Collection<OSDisk |
values()
Gets known OSDisk |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
EPHEMERAL
public static final OSDiskType EPHEMERAL
Static value Ephemeral for OSDiskType.
MANAGED
public static final OSDiskType MANAGED
Static value Managed for OSDiskType.
Constructor Details
OSDiskType
@Deprecated
public OSDiskType()
Deprecated
Creates a new instance of OSDiskType value.
Method Details
fromString
public static OSDiskType fromString(String name)
Creates or finds a OSDiskType from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known OSDiskType values.
Returns:
Applies to
Azure SDK for Java