共用方式為


EventGridModelFactory.MediaJobOutputAsset Method

Definition

Initializes a new instance of MediaJobOutputAsset.

public static Azure.Messaging.EventGrid.SystemEvents.MediaJobOutputAsset MediaJobOutputAsset (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, string assetName = default);
static member MediaJobOutputAsset : string * Azure.Messaging.EventGrid.SystemEvents.MediaJobError * string * int64 * Azure.Messaging.EventGrid.SystemEvents.MediaJobState * string -> Azure.Messaging.EventGrid.SystemEvents.MediaJobOutputAsset
Public Shared Function MediaJobOutputAsset (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, Optional assetName As String = Nothing) As MediaJobOutputAsset

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.

assetName
String

Gets the Job output asset name.

Returns

A new MediaJobOutputAsset instance for mocking.

Applies to