共用方式為


ArmDataFactoryModelFactory.CustomEventsTrigger Method

Definition

Initializes a new instance of CustomEventsTrigger.

public static Azure.ResourceManager.DataFactory.Models.CustomEventsTrigger CustomEventsTrigger (string description = default, Azure.ResourceManager.DataFactory.Models.DataFactoryTriggerRuntimeState? runtimeState = default, System.Collections.Generic.IEnumerable<BinaryData> annotations = default, System.Collections.Generic.IDictionary<string,BinaryData> additionalProperties = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.DataFactory.Models.TriggerPipelineReference> pipelines = default, string subjectBeginsWith = default, string subjectEndsWith = default, System.Collections.Generic.IEnumerable<BinaryData> events = default, string scope = default);
static member CustomEventsTrigger : string * Nullable<Azure.ResourceManager.DataFactory.Models.DataFactoryTriggerRuntimeState> * seq<BinaryData> * System.Collections.Generic.IDictionary<string, BinaryData> * seq<Azure.ResourceManager.DataFactory.Models.TriggerPipelineReference> * string * string * seq<BinaryData> * string -> Azure.ResourceManager.DataFactory.Models.CustomEventsTrigger
Public Shared Function CustomEventsTrigger (Optional description As String = Nothing, Optional runtimeState As Nullable(Of DataFactoryTriggerRuntimeState) = Nothing, Optional annotations As IEnumerable(Of BinaryData) = Nothing, Optional additionalProperties As IDictionary(Of String, BinaryData) = Nothing, Optional pipelines As IEnumerable(Of TriggerPipelineReference) = Nothing, Optional subjectBeginsWith As String = Nothing, Optional subjectEndsWith As String = Nothing, Optional events As IEnumerable(Of BinaryData) = Nothing, Optional scope As String = Nothing) As CustomEventsTrigger

Parameters

description
String

Trigger description.

runtimeState
Nullable<DataFactoryTriggerRuntimeState>

Indicates if trigger is running or not. Updated when Start/Stop APIs are called on the Trigger.

annotations
IEnumerable<BinaryData>

List of tags that can be used for describing the trigger.

additionalProperties
IDictionary<String,BinaryData>

Additional Properties.

pipelines
IEnumerable<TriggerPipelineReference>

Pipelines that need to be started.

subjectBeginsWith
String

The event subject must begin with the pattern provided for trigger to fire. At least one of these must be provided: subjectBeginsWith, subjectEndsWith.

subjectEndsWith
String

The event subject must end with the pattern provided for trigger to fire. At least one of these must be provided: subjectBeginsWith, subjectEndsWith.

events
IEnumerable<BinaryData>

The list of event types that cause this trigger to fire.

scope
String

The ARM resource ID of the Azure Event Grid Topic.

Returns

A new CustomEventsTrigger instance for mocking.

Applies to