Share via


MediaJobResource Class

Definition

A Class representing a MediaJob along with the instance operations that can be performed on it. If you have a Azure.Core.ResourceIdentifier you can construct a MediaJobResource from an instance of Azure.ResourceManager.ArmClient using the GetMediaJobResource method. Otherwise you can get one from its parent resource MediaTransformResource using the GetMediaJob method.

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

Constructors

MediaJobResource()

Initializes a new instance of the MediaJobResource class for mocking.

Fields

ResourceType

Gets the resource type for the operations.

Properties

Data

Gets the data representing this Feature.

HasData

Gets whether or not the current instance has data.

Methods

CancelJob(CancellationToken)

Cancel a Job.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/transforms/{transformName}/jobs/{jobName}/cancelJob
  • Operation Id: Jobs_CancelJob
  • Default Api Version: 2022-07-01
  • Resource: MediaJobResource
CancelJobAsync(CancellationToken)

Cancel a Job.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/transforms/{transformName}/jobs/{jobName}/cancelJob
  • Operation Id: Jobs_CancelJob
  • Default Api Version: 2022-07-01
  • Resource: MediaJobResource
CreateResourceIdentifier(String, String, String, String, String)

Generate the resource identifier of a MediaJobResource instance.

Delete(WaitUntil, CancellationToken)

Deletes a Job.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/transforms/{transformName}/jobs/{jobName}
  • Operation Id: Jobs_Delete
  • Default Api Version: 2022-07-01
  • Resource: MediaJobResource
DeleteAsync(WaitUntil, CancellationToken)

Deletes a Job.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/transforms/{transformName}/jobs/{jobName}
  • Operation Id: Jobs_Delete
  • Default Api Version: 2022-07-01
  • Resource: MediaJobResource
Get(CancellationToken)

Gets a Job.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/transforms/{transformName}/jobs/{jobName}
  • Operation Id: Jobs_Get
  • Default Api Version: 2022-07-01
  • Resource: MediaJobResource
GetAsync(CancellationToken)

Gets a Job.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/transforms/{transformName}/jobs/{jobName}
  • Operation Id: Jobs_Get
  • Default Api Version: 2022-07-01
  • Resource: MediaJobResource
Update(MediaJobData, CancellationToken)

Update is only supported for description and priority. Updating Priority will take effect when the Job state is Queued or Scheduled and depending on the timing the priority update may be ignored.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/transforms/{transformName}/jobs/{jobName}
  • Operation Id: Jobs_Update
  • Default Api Version: 2022-07-01
  • Resource: MediaJobResource
UpdateAsync(MediaJobData, CancellationToken)

Update is only supported for description and priority. Updating Priority will take effect when the Job state is Queued or Scheduled and depending on the timing the priority update may be ignored.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/transforms/{transformName}/jobs/{jobName}
  • Operation Id: Jobs_Update
  • Default Api Version: 2022-07-01
  • Resource: MediaJobResource

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