Class JobState


  • public final class JobState
    extends com.azure.core.util.ExpandableStringEnum<JobState>
    Defines values for JobState.
    • Field Detail

      • CREATED

        public static final JobState CREATED
        Static value Created for JobState.
      • STARTING

        public static final JobState STARTING
        Static value Starting for JobState.
      • RUNNING

        public static final JobState RUNNING
        Static value Running for JobState.
      • STOPPING

        public static final JobState STOPPING
        Static value Stopping for JobState.
      • STOPPED

        public static final JobState STOPPED
        Static value Stopped for JobState.
      • DELETING

        public static final JobState DELETING
        Static value Deleting for JobState.
      • FAILED

        public static final JobState FAILED
        Static value Failed for JobState.
      • DEGRADED

        public static final JobState DEGRADED
        Static value Degraded for JobState.
      • RESTARTING

        public static final JobState RESTARTING
        Static value Restarting for JobState.
      • SCALING

        public static final JobState SCALING
        Static value Scaling for JobState.
    • Constructor Detail

      • JobState

        public JobState()
    • Method Detail

      • fromString

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