Share via


JobOutput Constructors

Definition

Overloads

JobOutput()

Initializes a new instance of the JobOutput class.

JobOutput(JobError, Preset, JobState, Int32, String, Nullable<DateTime>, Nullable<DateTime>)

Initializes a new instance of the JobOutput class.

JobOutput()

Initializes a new instance of the JobOutput class.

public JobOutput ();
Public Sub New ()

Applies to

JobOutput(JobError, Preset, JobState, Int32, String, Nullable<DateTime>, Nullable<DateTime>)

Initializes a new instance of the JobOutput class.

public JobOutput (Microsoft.Azure.Management.Media.Models.JobError error = default, Microsoft.Azure.Management.Media.Models.Preset presetOverride = default, Microsoft.Azure.Management.Media.Models.JobState state = default, int progress = 0, string label = default, DateTime? startTime = default, DateTime? endTime = default);
new Microsoft.Azure.Management.Media.Models.JobOutput : Microsoft.Azure.Management.Media.Models.JobError * Microsoft.Azure.Management.Media.Models.Preset * Microsoft.Azure.Management.Media.Models.JobState * int * string * Nullable<DateTime> * Nullable<DateTime> -> Microsoft.Azure.Management.Media.Models.JobOutput
Public Sub New (Optional error As JobError = Nothing, Optional presetOverride As Preset = Nothing, Optional state As JobState = Nothing, Optional progress As Integer = 0, Optional label As String = Nothing, Optional startTime As Nullable(Of DateTime) = Nothing, Optional endTime As Nullable(Of DateTime) = Nothing)

Parameters

error
JobError

If the JobOutput is in the Error state, it contains the details of the error.

presetOverride
Preset

A preset used to override the preset in the corresponding transform output.

state
JobState

Describes the state of the JobOutput. Possible values include: 'Canceled', 'Canceling', 'Error', 'Finished', 'Processing', 'Queued', 'Scheduled'

progress
Int32

If the JobOutput is in a Processing state, this contains the Job completion percentage. The value is an estimate and not intended to be used to predict Job completion times. To determine if the JobOutput is complete, use the State property.

label
String

A label that is assigned to a JobOutput in order to help uniquely identify it. This is useful when your Transform has more than one TransformOutput, whereby your Job has more than one JobOutput. In such cases, when you submit the Job, you will add two or more JobOutputs, in the same order as TransformOutputs in the Transform. Subsequently, when you retrieve the Job, either through events or on a GET request, you can use the label to easily identify the JobOutput. If a label is not provided, a default value of '{presetName}_{outputIndex}' will be used, where the preset name is the name of the preset in the corresponding TransformOutput and the output index is the relative index of the this JobOutput within the Job. Note that this index is the same as the relative index of the corresponding TransformOutput within its Transform.

startTime
Nullable<DateTime>

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

endTime
Nullable<DateTime>

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

Applies to