Class AllocationState

java.lang.Object
com.azure.core.util.ExpandableStringEnum<AllocationState>
com.azure.compute.batch.models.AllocationState
All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>

public final class AllocationState extends com.azure.core.util.ExpandableStringEnum<AllocationState>
AllocationState enums.
  • Field Details

    • STEADY

      public static final AllocationState STEADY
      The Pool is not resizing. There are no changes to the number of Compute Nodes in the Pool in progress. A Pool enters this state when it is created and when no operations are being performed on the Pool to change the number of Compute Nodes.
    • RESIZING

      public static final AllocationState RESIZING
      The Pool is resizing; that is, Compute Nodes are being added to or removed from the Pool.
    • STOPPING

      public static final AllocationState STOPPING
      The Pool was resizing, but the user has requested that the resize be stopped, but the stop request has not yet been completed.
  • Constructor Details

    • AllocationState

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

    • fromString

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

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