java.lang.Object
com.azure.core.util.ExpandableStringEnum<OSDiskType>
com.azure.resourcemanager.containerservice.models.OSDiskType

public final class OSDiskType extends com.azure.core.util.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

    Fields
    Modifier and Type
    Field
    Description
    static final OSDiskType
    Static value Ephemeral for OSDiskType.
    static final OSDiskType
    Static value Managed for OSDiskType.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static OSDiskType
    Creates or finds a OSDiskType from its string representation.
    Gets known OSDiskType values.

    Methods inherited from class com.azure.core.util.ExpandableStringEnum

    equals, fromString, hashCode, toString, values

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • MANAGED

      public static final OSDiskType MANAGED
      Static value Managed for OSDiskType.
    • EPHEMERAL

      public static final OSDiskType EPHEMERAL
      Static value Ephemeral for OSDiskType.
  • Constructor Details

    • OSDiskType

      public OSDiskType()
  • Method Details

    • fromString

      public static OSDiskType fromString(String name)
      Creates or finds a OSDiskType from its string representation.
      Parameters:
      name - a name to look for.
      Returns:
      the corresponding OSDiskType.
    • values

      public static Collection<OSDiskType> values()
      Gets known OSDiskType values.
      Returns:
      known OSDiskType values.