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.TriggerTumblingWindowTrigger
Constructor
TumblingWindowTrigger(*, pipeline: _models.TriggerPipelineReference, frequency: Union[str, _models.TumblingWindowFrequency], interval: int, start_time: datetime.datetime, max_concurrency: int, additional_properties: Optional[Dict[str, Any]] = None, description: Optional[str] = None, annotations: Optional[List[Any]] = None, end_time: Optional[datetime.datetime] = None, delay: Optional[Any] = None, retry_policy: Optional[_models.RetryPolicy] = None, depends_on: Optional[List[_models.DependencyReference]] = None, **kwargs)
Variables
Unmatched properties from the message are deserialized to this collection.
- type
- str
Required. Trigger type.Constant filled by server.
- description
- str
Trigger description.
- runtime_state
- str or TriggerRuntimeState
Indicates if trigger is running or not. Updated when Start/Stop APIs are called on the Trigger. Known values are: "Started", "Stopped", "Disabled".
- pipeline
- TriggerPipelineReference
Required. Pipeline for which runs are created when an event is fired for trigger window that is ready.
- frequency
- str or TumblingWindowFrequency
Required. The frequency of the time windows. Known values are: "Minute", "Hour", "Month".
- interval
- int
Required. The interval of the time windows. The minimum interval allowed is 15 Minutes.
- start_time
- datetime
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
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
- any
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. The max number of parallel time windows (ready for execution) for which a new run is triggered.
- retry_policy
- RetryPolicy
Retry policy that will be applied for failed pipeline runs.
- depends_on
- list[DependencyReference]
Triggers that this trigger depends on. Only tumbling window triggers are supported.
Feedback
Submit and view feedback for