Class ScaleDownMode

java.lang.Object
com.azure.core.util.ExpandableStringEnum<ScaleDownMode>
com.azure.resourcemanager.containerservice.models.ScaleDownMode
All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>

public final class ScaleDownMode extends com.azure.core.util.ExpandableStringEnum<ScaleDownMode>
Describes how VMs are added to or removed from Agent Pools. See [billing states](https://docs.microsoft.com/azure/virtual-machines/states-billing).
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final ScaleDownMode
    Attempt to start deallocated instances (if they exist) during scale up and deallocate instances during scale down.
    static final ScaleDownMode
    Create new instances during scale up and remove instances during scale down.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated.
    Use the fromString(String) factory method.
  • Method Summary

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

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

    equals, fromString, getValue, hashCode, toString, values

    Methods inherited from class Object

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

    • DELETE

      public static final ScaleDownMode DELETE
      Create new instances during scale up and remove instances during scale down.
    • DEALLOCATE

      public static final ScaleDownMode DEALLOCATE
      Attempt to start deallocated instances (if they exist) during scale up and deallocate instances during scale down.
  • Constructor Details

    • ScaleDownMode

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

    • fromString

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

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