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

public final class Expander extends com.azure.core.util.ExpandableStringEnum<Expander>
The expander to use when scaling up

If not specified, the default is 'random'. See [expanders](https://github.com/kubernetes/autoscaler/blob/master/cluster-autoscaler/FAQ.md#what-are-expanders) for more information.

  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final Expander
    Static value least-waste for Expander.
    static final Expander
    Static value most-pods for Expander.
    static final Expander
    Static value priority for Expander.
    static final Expander
    Static value random for Expander.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static Expander
    Creates or finds a Expander from its string representation.
    Gets known Expander 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

    • LEAST_WASTE

      public static final Expander LEAST_WASTE
      Static value least-waste for Expander.
    • MOST_PODS

      public static final Expander MOST_PODS
      Static value most-pods for Expander.
    • PRIORITY

      public static final Expander PRIORITY
      Static value priority for Expander.
    • RANDOM

      public static final Expander RANDOM
      Static value random for Expander.
  • Constructor Details

    • Expander

      public Expander()
  • Method Details

    • fromString

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

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