JobOutputAsset Constructors
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.
Overloads
JobOutputAsset() |
Initializes a new instance of the JobOutputAsset class. |
JobOutputAsset(String, JobError, Preset, JobState, Int32, String, Nullable<DateTime>, Nullable<DateTime>) |
Initializes a new instance of the JobOutputAsset class. |
JobOutputAsset()
Initializes a new instance of the JobOutputAsset class.
public JobOutputAsset ();
Public Sub New ()
Applies to
JobOutputAsset(String, JobError, Preset, JobState, Int32, String, Nullable<DateTime>, Nullable<DateTime>)
Initializes a new instance of the JobOutputAsset class.
public JobOutputAsset (string assetName, 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.JobOutputAsset : string * 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.JobOutputAsset
Public Sub New (assetName As String, 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
- assetName
- String
The name of the output Asset.
- 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.