MediaJobResource Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.ArmResourceMediaJobResource
- 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.
|
| CancelJobAsync(CancellationToken) |
Cancel a Job.
|
| CreateResourceIdentifier(String, String, String, String, String) |
Generate the resource identifier of a MediaJobResource instance. |
| Delete(WaitUntil, CancellationToken) |
Deletes a Job.
|
| DeleteAsync(WaitUntil, CancellationToken) |
Deletes a Job.
|
| Get(CancellationToken) |
Gets a Job.
|
| GetAsync(CancellationToken) |
Gets a Job.
|
| 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.
|
| 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.
|
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. |