Share via


JobState Struct

Definition

Defines values for JobState.

[Newtonsoft.Json.JsonConverter(typeof(Microsoft.Azure.Management.Media.Models.JobStateConverter))]
public struct JobState : IEquatable<Microsoft.Azure.Management.Media.Models.JobState>
[<Newtonsoft.Json.JsonConverter(typeof(Microsoft.Azure.Management.Media.Models.JobStateConverter))>]
type JobState = struct
Public Structure JobState
Implements IEquatable(Of JobState)
Inheritance
JobState
Attributes
Newtonsoft.Json.JsonConverterAttribute
Implements

Fields

Canceled

The job was canceled. This is a final state for the job.

Canceling

The job is in the process of being canceled. This is a transient state for the job.

Error

The job has encountered an error. This is a final state for the job.

Finished

The job is finished. This is a final state for the job.

Processing

The job is processing. This is a transient state for the job.

Queued

The job is in a queued state, waiting for resources to become available. This is a transient state.

Scheduled

The job is being scheduled to run on an available resource. This is a transient state, between queued and processing states.

Methods

Equals(JobState)

Compares enums of type JobState

Equals(Object)

Overrides Equals operator for JobState

GetHashCode()

Returns for hashCode JobState

ToString()

Returns string representation for JobState

Operators

Equality(JobState, JobState)

Overriding == operator for enum JobState

Implicit(JobState to String)

Implicit operator to convert JobState to string

Implicit(String to JobState)

Implicit operator to convert string to JobState

Inequality(JobState, JobState)

Overriding != operator for enum JobState

Applies to