Share via


EventGridModelFactory.AcsRouterJobQueuedEventData Method

Definition

Initializes a new instance of AcsRouterJobQueuedEventData.

public static Azure.Messaging.EventGrid.SystemEvents.AcsRouterJobQueuedEventData AcsRouterJobQueuedEventData (string jobId = default, string channelReference = default, string channelId = default, string queueId = default, System.Collections.Generic.IReadOnlyDictionary<string,string> labels = default, System.Collections.Generic.IReadOnlyDictionary<string,string> tags = default, int? priority = default, System.Collections.Generic.IEnumerable<Azure.Messaging.EventGrid.SystemEvents.AcsRouterWorkerSelector> attachedWorkerSelectors = default, System.Collections.Generic.IEnumerable<Azure.Messaging.EventGrid.SystemEvents.AcsRouterWorkerSelector> requestedWorkerSelectors = default);
static member AcsRouterJobQueuedEventData : string * string * string * string * System.Collections.Generic.IReadOnlyDictionary<string, string> * System.Collections.Generic.IReadOnlyDictionary<string, string> * Nullable<int> * seq<Azure.Messaging.EventGrid.SystemEvents.AcsRouterWorkerSelector> * seq<Azure.Messaging.EventGrid.SystemEvents.AcsRouterWorkerSelector> -> Azure.Messaging.EventGrid.SystemEvents.AcsRouterJobQueuedEventData
Public Shared Function AcsRouterJobQueuedEventData (Optional jobId As String = Nothing, Optional channelReference As String = Nothing, Optional channelId As String = Nothing, Optional queueId As String = Nothing, Optional labels As IReadOnlyDictionary(Of String, String) = Nothing, Optional tags As IReadOnlyDictionary(Of String, String) = Nothing, Optional priority As Nullable(Of Integer) = Nothing, Optional attachedWorkerSelectors As IEnumerable(Of AcsRouterWorkerSelector) = Nothing, Optional requestedWorkerSelectors As IEnumerable(Of AcsRouterWorkerSelector) = Nothing) As AcsRouterJobQueuedEventData

Parameters

jobId
String

Router Event Job ID.

channelReference
String

Router Event Channel Reference.

channelId
String

Router Event Channel ID.

queueId
String

Router Job events Queue Id.

labels
IReadOnlyDictionary<String,String>

Router Job events Labels.

tags
IReadOnlyDictionary<String,String>

Router Jobs events Tags.

priority
Nullable<Int32>

Router Job Priority.

attachedWorkerSelectors
IEnumerable<AcsRouterWorkerSelector>

Router Job Queued Attached Worker Selector.

requestedWorkerSelectors
IEnumerable<AcsRouterWorkerSelector>

Router Job Queued Requested Worker Selector.

Returns

A new AcsRouterJobQueuedEventData instance for mocking.

Applies to