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

public final class NodeState extends com.azure.core.util.ExpandableStringEnum<NodeState>
State of the compute node. Values are idle, running, preparing, unusable, leaving and preempted.
  • Field Details

    • IDLE

      public static final NodeState IDLE
      Static value idle for NodeState.
    • RUNNING

      public static final NodeState RUNNING
      Static value running for NodeState.
    • PREPARING

      public static final NodeState PREPARING
      Static value preparing for NodeState.
    • UNUSABLE

      public static final NodeState UNUSABLE
      Static value unusable for NodeState.
    • LEAVING

      public static final NodeState LEAVING
      Static value leaving for NodeState.
    • PREEMPTED

      public static final NodeState PREEMPTED
      Static value preempted for NodeState.
  • Constructor Details

  • Method Details

    • fromString

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

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