Class AutoscaleType

java.lang.Object
com.azure.core.util.ExpandableStringEnum<AutoscaleType>
com.azure.resourcemanager.hdinsight.containers.models.AutoscaleType
All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>

public final class AutoscaleType extends com.azure.core.util.ExpandableStringEnum<AutoscaleType>
User to specify which type of Autoscale to be implemented - Scheduled Based or Load Based.
  • Field Details

    • SCHEDULE_BASED

      public static final AutoscaleType SCHEDULE_BASED
      Static value ScheduleBased for AutoscaleType.
    • LOAD_BASED

      public static final AutoscaleType LOAD_BASED
      Static value LoadBased for AutoscaleType.
  • Constructor Details

    • AutoscaleType

      @Deprecated public AutoscaleType()
      Deprecated.
      Use the fromString(String) factory method.
      Creates a new instance of AutoscaleType value.
  • Method Details

    • fromString

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

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