TumblingWindowTrigger Class

Trigger that schedules pipeline runs for all fixed time interval windows from a start time without gaps and also supports backfill scenarios (when start time is in the past).

Variables are only populated by the server, and will be ignored when sending a request.

All required parameters must be populated in order to send to Azure.

Inheritance
azure.mgmt.datafactory.models._models_py3.Trigger
TumblingWindowTrigger

Constructor

TumblingWindowTrigger(*, pipeline: azure.mgmt.datafactory.models._models_py3.TriggerPipelineReference, frequency: typing.Union[str, _ForwardRef('TumblingWindowFrequency')], interval: int, start_time: datetime.datetime, max_concurrency: int, additional_properties: typing.Union[typing.Dict[str, object], NoneType] = None, description: typing.Union[str, NoneType] = None, annotations: typing.Union[typing.List[object], NoneType] = None, end_time: typing.Union[datetime.datetime, NoneType] = None, delay: object = None, retry_policy: typing.Union[_ForwardRef('RetryPolicy'), NoneType] = None, depends_on: typing.Union[typing.List[_ForwardRef('DependencyReference')], NoneType] = None, **kwargs)

Parameters

additional_properties
dict[str, object]
Required

Unmatched properties from the message are deserialized to this collection.

type
str
Required

Required. Trigger type.Constant filled by server.

description
str
Required

Trigger description.

annotations
list[object]
Required

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

pipeline
TriggerPipelineReference
Required

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

frequency
str or TumblingWindowFrequency
Required

Required. The frequency of the time windows. Possible values include: "Minute", "Hour", "Month".

interval
int
Required

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

start_time
datetime
Required

Required. 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.

end_time
datetime
Required

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
object
Required

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+).)?(dd):(60|([0-5][0-9])):(60|([0-5][0-9])).

max_concurrency
int
Required

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

retry_policy
RetryPolicy
Required

Retry policy that will be applied for failed pipeline runs.

depends_on
list[DependencyReference]
Required

Triggers that this trigger depends on. Only tumbling window triggers are supported.

Variables

runtime_state
str or TriggerRuntimeState

Indicates if trigger is running or not. Updated when Start/Stop APIs are called on the Trigger. Possible values include: "Started", "Stopped", "Disabled".