Class BatchPoolState

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

public final class BatchPoolState extends com.azure.core.util.ExpandableStringEnum<BatchPoolState>
BatchPoolState enums.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final BatchPoolState
    The Pool is available to run Tasks subject to the availability of Compute Nodes.
    static final BatchPoolState
    The user has requested that the Pool be deleted, but the delete operation has not yet completed.
  • Constructor Summary

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

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

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

    equals, fromString, getValue, hashCode, toString, values

    Methods inherited from class java.lang.Object

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

    • ACTIVE

      public static final BatchPoolState ACTIVE
      The Pool is available to run Tasks subject to the availability of Compute Nodes.
    • DELETING

      public static final BatchPoolState DELETING
      The user has requested that the Pool be deleted, but the delete operation has not yet completed.
  • Constructor Details

    • BatchPoolState

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

    • fromString

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

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