共用方式為


ArmDataFactoryModelFactory.TumblingWindowTrigger Method

Definition

Initializes a new instance of TumblingWindowTrigger.

public static Azure.ResourceManager.DataFactory.Models.TumblingWindowTrigger TumblingWindowTrigger (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, Azure.ResourceManager.DataFactory.Models.TriggerPipelineReference pipeline = default, Azure.ResourceManager.DataFactory.Models.TumblingWindowFrequency frequency = default, int interval = 0, DateTimeOffset startOn = default, DateTimeOffset? endOn = default, Azure.Core.Expressions.DataFactory.DataFactoryElement<string> delay = default, int maxConcurrency = 0, Azure.ResourceManager.DataFactory.Models.RetryPolicy retryPolicy = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.DataFactory.Models.DependencyReference> dependsOn = default);
static member TumblingWindowTrigger : string * Nullable<Azure.ResourceManager.DataFactory.Models.DataFactoryTriggerRuntimeState> * seq<BinaryData> * System.Collections.Generic.IDictionary<string, BinaryData> * Azure.ResourceManager.DataFactory.Models.TriggerPipelineReference * Azure.ResourceManager.DataFactory.Models.TumblingWindowFrequency * int * DateTimeOffset * Nullable<DateTimeOffset> * Azure.Core.Expressions.DataFactory.DataFactoryElement<string> * int * Azure.ResourceManager.DataFactory.Models.RetryPolicy * seq<Azure.ResourceManager.DataFactory.Models.DependencyReference> -> Azure.ResourceManager.DataFactory.Models.TumblingWindowTrigger
Public Shared Function TumblingWindowTrigger (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 pipeline As TriggerPipelineReference = Nothing, Optional frequency As TumblingWindowFrequency = Nothing, Optional interval As Integer = 0, Optional startOn As DateTimeOffset = Nothing, Optional endOn As Nullable(Of DateTimeOffset) = Nothing, Optional delay As DataFactoryElement(Of String) = Nothing, Optional maxConcurrency As Integer = 0, Optional retryPolicy As RetryPolicy = Nothing, Optional dependsOn As IEnumerable(Of DependencyReference) = Nothing) As TumblingWindowTrigger

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.

pipeline
TriggerPipelineReference

Pipeline for which runs are created when an event is fired for trigger window that is ready.

frequency
TumblingWindowFrequency

The frequency of the time windows.

interval
Int32

The interval of the time windows. The minimum interval allowed is 15 Minutes.

startOn
DateTimeOffset

The start time for the time period for the trigger during which events are fired for windows that are ready. Only UTC time is currently supported.

endOn
Nullable<DateTimeOffset>

The end time for the time period for the trigger during which events are fired for windows that are ready. Only UTC time is currently supported.

delay
DataFactoryElement<String>

Specifies how long the trigger waits past due time before triggering new run. It doesn't alter window start and end time. The default is 0. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).

maxConcurrency
Int32

The max number of parallel time windows (ready for execution) for which a new run is triggered.

retryPolicy
RetryPolicy

Retry policy that will be applied for failed pipeline runs.

dependsOn
IEnumerable<DependencyReference>

Triggers that this trigger depends on. Only tumbling window triggers are supported. Please note DependencyReference is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include SelfDependencyTumblingWindowTriggerReference, TriggerDependencyReference and TumblingWindowTriggerDependencyReference.

Returns

A new TumblingWindowTrigger instance for mocking.

Applies to