Struct JobState
Job state.
[JsonConverter(typeof(JobStateConverter))]
public readonly record struct JobState : IEquatable<JobState>
- Implements
- Inherited Members
Properties
AllValues
public static IReadOnlyList<JobState> AllValues { get; }
Property Value
JobStateCancelled
The job has been cancelled.
public static JobState JobStateCancelled { get; }
Property Value
JobStateCancelling
The job is being cancelled. From this state the job may only go to either
JOB_STATE_SUCCEEDED, JOB_STATE_FAILED or JOB_STATE_CANCELLED.
public static JobState JobStateCancelling { get; }
Property Value
JobStateExpired
The job has expired.
public static JobState JobStateExpired { get; }
Property Value
JobStateFailed
The job failed.
public static JobState JobStateFailed { get; }
Property Value
JobStatePartiallySucceeded
The job is partially succeeded, some results may be missing due to errors.
public static JobState JobStatePartiallySucceeded { get; }
Property Value
JobStatePaused
The job has been stopped, and can be resumed.
public static JobState JobStatePaused { get; }
Property Value
JobStatePending
The service is preparing to run the job.
public static JobState JobStatePending { get; }
Property Value
JobStateQueued
The job has been just created or resumed and processing has not yet begun.
public static JobState JobStateQueued { get; }
Property Value
JobStateRunning
The job is in progress.
public static JobState JobStateRunning { get; }
Property Value
JobStateSucceeded
The job completed successfully.
public static JobState JobStateSucceeded { get; }
Property Value
JobStateUnspecified
The job state is unspecified.
public static JobState JobStateUnspecified { get; }
Property Value
JobStateUpdating
The job is being updated. Only jobs in the JOB_STATE_RUNNING state can be updated. After
updating, the job goes back to the JOB_STATE_RUNNING state.
public static JobState JobStateUpdating { get; }
Property Value
Value
public string Value { get; }
Property Value
Methods
Equals(JobState)
public bool Equals(JobState other)
Parameters
otherJobState
Returns
FromString(string)
public static JobState FromString(string value)
Parameters
valuestring
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
Operators
implicit operator JobState(string)
public static implicit operator JobState(string value)
Parameters
valuestring