简体   繁体   中英

How to trigger Azure Data Factory pipeline using PowerShell (Azure Automation)?

I was wondering if it were possible to trigger Data Factory dynamically using PowerShell? Are there scripts available or some workarounds using APIs?

For example after scaling the database from S2 -> S9 using PowerShell I'd like to trigger specific Data Factory pipelines.

Is this something you might be looking for?

https://docs.microsoft.com/en-us/azure/data-factory/concepts-pipeline-execution-triggers

Invoke-AzDataFactoryV2Pipeline -DataFactory $df -PipelineName "Adfv2QuickStartPipeline" -ParameterFile .\\PipelineParameters.json

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM