JobOutputAsset interface

Represents an Asset used as a JobOutput.

Extends

Properties

assetName

The name of the output Asset.

odataType

Polymorphic discriminator, which specifies the different types this object can be

Inherited Properties

endTime

The UTC date and time at which this Job Output finished processing. NOTE: This property will not be serialized. It can only be populated by the server.

error

If the JobOutput is in the Error state, it contains the details of the error. NOTE: This property will not be serialized. It can only be populated by the server.

label

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.

presetOverride

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

progress

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. NOTE: This property will not be serialized. It can only be populated by the server.

startTime

The UTC date and time at which this Job Output began processing. NOTE: This property will not be serialized. It can only be populated by the server.

state

Describes the state of the JobOutput. NOTE: This property will not be serialized. It can only be populated by the server.

Property Details

assetName

The name of the output Asset.

assetName: string

Property Value

string

odataType

Polymorphic discriminator, which specifies the different types this object can be

odataType: "#Microsoft.Media.JobOutputAsset"

Property Value

"#Microsoft.Media.JobOutputAsset"

Inherited Property Details

endTime

The UTC date and time at which this Job Output finished processing. NOTE: This property will not be serialized. It can only be populated by the server.

endTime?: Date

Property Value

Date

Inherited From JobOutput.endTime

error

If the JobOutput is in the Error state, it contains the details of the error. NOTE: This property will not be serialized. It can only be populated by the server.

error?: JobError

Property Value

Inherited From JobOutput.error

label

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.

label?: string

Property Value

string

Inherited From JobOutput.label

presetOverride

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

presetOverride?: PresetUnion

Property Value

Inherited From JobOutput.presetOverride

progress

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. NOTE: This property will not be serialized. It can only be populated by the server.

progress?: number

Property Value

number

Inherited From JobOutput.progress

startTime

The UTC date and time at which this Job Output began processing. NOTE: This property will not be serialized. It can only be populated by the server.

startTime?: Date

Property Value

Date

Inherited From JobOutput.startTime

state

Describes the state of the JobOutput. NOTE: This property will not be serialized. It can only be populated by the server.

state?: string

Property Value

string

Inherited From JobOutput.state