Class AllocationState

java.lang.Object
com.azure.core.util.ExpandableStringEnum<AllocationState>
com.azure.resourcemanager.machinelearning.models.AllocationState

public final class AllocationState extends com.azure.core.util.ExpandableStringEnum<AllocationState>
Allocation state. Allocation state of the compute. Possible values are: steady - Indicates that the compute is not resizing. There are no changes to the number of compute nodes in the compute in progress. A compute enters this state when it is created and when no operations are being performed on the compute to change the number of compute nodes. resizing - Indicates that the compute is resizing; that is, compute nodes are being added to or removed from the compute.
  • Field Details

    • STEADY

      public static final AllocationState STEADY
      Static value Steady for AllocationState.
    • RESIZING

      public static final AllocationState RESIZING
      Static value Resizing for AllocationState.
  • 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.