AzureAIProjectsModelFactory.CustomRoutineTrigger Method

Definition

A custom event routine trigger.

public static Azure.AI.Projects.CustomRoutineTrigger CustomRoutineTrigger(string provider = default, string eventName = default, System.Collections.Generic.IDictionary<string,BinaryData> parameters = default);
static member CustomRoutineTrigger : string * string * System.Collections.Generic.IDictionary<string, BinaryData> -> Azure.AI.Projects.CustomRoutineTrigger
Public Shared Function CustomRoutineTrigger (Optional provider As String = Nothing, Optional eventName As String = Nothing, Optional parameters As IDictionary(Of String, BinaryData) = Nothing) As CustomRoutineTrigger

Parameters

provider
String

The external provider that emits the custom event.

eventName
String

The provider-specific event name that fires the routine.

parameters
IDictionary<String,BinaryData>

Provider-specific trigger parameters.

Returns

A new CustomRoutineTrigger instance for mocking.

Applies to