EventGridModelFactory.MediaJobOutput Method
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.
Initializes a new instance of MediaJobOutput.
public static Azure.Messaging.EventGrid.SystemEvents.MediaJobOutput MediaJobOutput (string odataType = default, Azure.Messaging.EventGrid.SystemEvents.MediaJobError error = default, string label = default, long progress = 0, Azure.Messaging.EventGrid.SystemEvents.MediaJobState state = Azure.Messaging.EventGrid.SystemEvents.MediaJobState.Canceled);
static member MediaJobOutput : string * Azure.Messaging.EventGrid.SystemEvents.MediaJobError * string * int64 * Azure.Messaging.EventGrid.SystemEvents.MediaJobState -> Azure.Messaging.EventGrid.SystemEvents.MediaJobOutput
Public Shared Function MediaJobOutput (Optional odataType As String = Nothing, Optional error As MediaJobError = Nothing, Optional label As String = Nothing, Optional progress As Long = 0, Optional state As MediaJobState = Azure.Messaging.EventGrid.SystemEvents.MediaJobState.Canceled) As MediaJobOutput
Parameters
- odataType
- String
The discriminator for derived types.
- error
- MediaJobError
Gets the Job output error.
- label
- String
Gets the Job output label.
- progress
- Int64
Gets the Job output progress.
- state
- MediaJobState
Gets the Job output state.
Returns
A new MediaJobOutput instance for mocking.