Class BatchJobScheduleState

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

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

    • ACTIVE

      public static final BatchJobScheduleState ACTIVE
      The Job Schedule is active and will create Jobs as per its schedule.
    • COMPLETED

      public static final BatchJobScheduleState COMPLETED
      The Job Schedule has terminated, either by reaching its end time or by the user terminating it explicitly.
    • DISABLED

      public static final BatchJobScheduleState DISABLED
      The user has disabled the Job Schedule. The scheduler will not initiate any new Jobs will on this schedule, but any existing active Job will continue to run.
    • TERMINATING

      public static final BatchJobScheduleState TERMINATING
      The Job Schedule has no more work to do, or has been explicitly terminated by the user, but the termination operation is still in progress. The scheduler will not initiate any new Jobs for this Job Schedule, nor is any existing Job active.
    • DELETING

      public static final BatchJobScheduleState DELETING
      The user has requested that the Job Schedule be deleted, but the delete operation is still in progress. The scheduler will not initiate any new Jobs for this Job Schedule, and will delete any existing Jobs and Tasks under the Job Schedule, including any active Job. The Job Schedule will be deleted when all Jobs and Tasks under the Job Schedule have been deleted.
  • Constructor Details

    • BatchJobScheduleState

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

    • fromString

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

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