Udostępnij za pośrednictwem


ArmMediaModelFactory.MediaJobData Method

Definition

Initializes a new instance of MediaJobData.

public static Azure.ResourceManager.Media.MediaJobData MediaJobData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, DateTimeOffset? createdOn = default, Azure.ResourceManager.Media.Models.MediaJobState? state = default, string description = default, Azure.ResourceManager.Media.Models.MediaJobInputBasicProperties input = default, DateTimeOffset? lastModifiedOn = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Media.Models.MediaJobOutput> outputs = default, Azure.ResourceManager.Media.Models.MediaJobPriority? priority = default, System.Collections.Generic.IDictionary<string,string> correlationData = default, DateTimeOffset? startOn = default, DateTimeOffset? endOn = default);
static member MediaJobData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<DateTimeOffset> * Nullable<Azure.ResourceManager.Media.Models.MediaJobState> * string * Azure.ResourceManager.Media.Models.MediaJobInputBasicProperties * Nullable<DateTimeOffset> * seq<Azure.ResourceManager.Media.Models.MediaJobOutput> * Nullable<Azure.ResourceManager.Media.Models.MediaJobPriority> * System.Collections.Generic.IDictionary<string, string> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> -> Azure.ResourceManager.Media.MediaJobData
Public Shared Function MediaJobData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional state As Nullable(Of MediaJobState) = Nothing, Optional description As String = Nothing, Optional input As MediaJobInputBasicProperties = Nothing, Optional lastModifiedOn As Nullable(Of DateTimeOffset) = Nothing, Optional outputs As IEnumerable(Of MediaJobOutput) = Nothing, Optional priority As Nullable(Of MediaJobPriority) = Nothing, Optional correlationData As IDictionary(Of String, String) = Nothing, Optional startOn As Nullable(Of DateTimeOffset) = Nothing, Optional endOn As Nullable(Of DateTimeOffset) = Nothing) As MediaJobData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

createdOn
Nullable<DateTimeOffset>

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

state
Nullable<MediaJobState>

The current state of the job.

description
String

Optional customer supplied description of the Job.

input
MediaJobInputBasicProperties

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, MediaJobInputSequence and MediaJobInputs.

lastModifiedOn
Nullable<DateTimeOffset>

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

outputs
IEnumerable<MediaJobOutput>

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
Nullable<MediaJobPriority>

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

correlationData
IDictionary<String,String>

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

startOn
Nullable<DateTimeOffset>

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

endOn
Nullable<DateTimeOffset>

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

Returns

A new MediaJobData instance for mocking.

Applies to