JobStatus type
Defines values for JobStatus.
KnownJobStatus can be used interchangeably with JobStatus,
this enum contains the known values that the service supports.
Known values supported by the service
NotStarted: Run hasn't started yet.
Starting: Run has started. The user has a run ID.
Provisioning: (Not used currently) It will be used if ES is creating the compute target.
Preparing: The run environment is being prepared.
Queued: The job is queued in the compute target. For example, in BatchAI the job is in queued state, while waiting for all required nodes to be ready.
Running: The job started to run in the compute target.
Finalizing: Job is completed in the target. It is in output collection state now.
CancelRequested: Cancellation has been requested for the job.
Completed: Job completed successfully. This reflects that both the job itself and output collection states completed successfully
Failed: Job failed.
Canceled: Following cancellation request, the job is now successfully canceled.
NotResponding: When heartbeat is enabled, if the run isn't updating any information to RunHistory then the run goes to NotResponding state.
NotResponding is the only state that is exempt from strict transition orders. A run can go from NotResponding to any of the previous states.
Paused: The job is paused by users. Some adjustment to labeling jobs can be made only in paused state.
Unknown: Default job status if not mapped to all other statuses
type JobStatus = string