Class SchedulingState

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

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

    • ENABLED

      public static final SchedulingState ENABLED
      Tasks can be scheduled on the Compute Node.
    • DISABLED

      public static final SchedulingState DISABLED
      No new Tasks will be scheduled on the Compute Node. Tasks already running on the Compute Node may still run to completion. All Compute Nodes start with scheduling enabled.
  • Constructor Details

    • SchedulingState

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

    • fromString

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

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