Share via


MediaJobData Class

Definition

A class representing the MediaJob data model. A Job resource type. The progress and state can be obtained by polling a Job or subscribing to events using EventGrid.

public class MediaJobData : Azure.ResourceManager.Models.ResourceData, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Media.MediaJobData>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Media.MediaJobData>
type MediaJobData = class
    inherit ResourceData
    interface IJsonModel<MediaJobData>
    interface IPersistableModel<MediaJobData>
Public Class MediaJobData
Inherits ResourceData
Implements IJsonModel(Of MediaJobData), IPersistableModel(Of MediaJobData)
Inheritance
Azure.ResourceManager.Models.ResourceData
MediaJobData
Implements
System.ClientModel.Primitives.IJsonModel<MediaJobData> System.ClientModel.Primitives.IPersistableModel<MediaJobData> System.ClientModel.Primitives.IPersistableModel<T>

Constructors

MediaJobData()

Initializes a new instance of MediaJobData.

Properties

CorrelationData

Customer provided key, value pairs that will be returned in Job and JobOutput state events.

CreatedOn

The UTC date and time when the customer has created the Job, in 'YYYY-MM-DDThh:mm:ssZ' format.

Description

Optional customer supplied description of the Job.

EndOn

The UTC date and time at which this Job finished processing.

Input

The inputs for the Job. Please note MediaJobInputBasicProperties is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include MediaJobInputAsset, MediaJobInputClip, MediaJobInputHttp, MediaJobInputs and MediaJobInputSequence.

LastModifiedOn

The UTC date and time when the customer has last updated the Job, in 'YYYY-MM-DDThh:mm:ssZ' format.

Outputs

The outputs for the Job. Please note MediaJobOutput is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include MediaJobOutputAsset.

Priority

Priority with which the job should be processed. Higher priority jobs are processed before lower priority jobs. If not set, the default is normal.

StartOn

The UTC date and time at which this Job began processing.

State

The current state of the job.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<MediaJobData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<MediaJobData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided System.Text.Json.Utf8JsonWriter.

IPersistableModel<MediaJobData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided System.BinaryData into a model.

IPersistableModel<MediaJobData>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<MediaJobData>.Write(ModelReaderWriterOptions)

Writes the model into a System.BinaryData.

Applies to