Azure Data Factory Trigger
This release task can be added to a release pipeline to either start or stop Azure Data Factory or Azure Synapse Workspace triggers.
YAML Snippet
# Azure Data Factory Trigger
# Start or stops an Azure Data Factory trigger
- task: toggle-adf-trigger@2
displayName: 'Toggle trigger(s) in DataFactory'
inputs:
#azureSubscription: # Required
#ResourceGroupName: # Optional
#DatafactoryName: # Optional
#WorkspaceUrl: # Optional - Either 'WorkspaceUrl' or 'ResourceGroupName'/'DatafactoryName' is required
#TriggerFilter: # Required
#TriggerStatus: 'Start' # Options: start, stop
#continue: true # Optional
#Throttle: 5 # Optional
Arguments
Argument | Description |
---|---|
azureSubscription Azure subscription |
(Required) Name of Azure Resource Manager service connection. |
ResourceGroupName Resource group |
(Optional) Name of the Resource Group containing the Data Factory. |
DatafactoryName Azure Data Factory |
(Optional) Name of the Data Factory. |
WorkspaceUrl Synapse workspace development endpoint URL |
(Optional) Name of the Synapse workspace development endpoint, eg. https://myworkspace.dev.azuresynapse.net" |
TriggerFilter Trigger Filter |
(Required) Wildcard filter to determine which triggers to toggled.* : all triggers will be deleted. |
TriggerStatus Set Trigger Status |
(Required) The new status of the Azure Data Factory Trigger(s), can be Start or Stop. Default vale: start |
continue Continue on error |
(Optional) Continue on a failure of a pipeline trigger. Default value: false |
Throttle Number of parallel actions |
(Optional) Number of parallel actions. Default value: 5 . |
Release notes
2.5
- Support for Governmnet Clouds
- Support for Azure Synapse Analytics
2.2
- Added paging support for data factories with more than 50 pipelines
2.0
- Rewrite to platform independent version by using NodeJS and REST APIs
- This version only support Azure Data Factory v2
1.0.4
- Initial public release
Feedback
If you have any comment related to the documentation, like corrections, unclear features or missing documentation, feel free to leave feedback below via GitHub. Or correct it yourself and submit a PR; see CONTRIBUTING.md for more details. GitHub account required.