简体   繁体   中英

trigger azure data factory pipeline

Is there any way to manually trigger a azure data factory pipeline? I would like to have this feature for a demo.

I know that we can suspend and resume a pipeline using power shell scripts.

Thanks.

Here is what I would do.

  1. create everything without pipeline active periods
  2. When you want to run the demo update active periods to dates in the past
  3. If you want to run again, update to another date in the past

Updating dates via powershell would look something like this

Set-AzureDataFactoryPipelineActivePeriod -DataFactoryName $DataFactoryName -PipelineName $PipelineName -StartDateTime $DateInPast -EndDateTime $DateOneDayLessInPast -ResourceGroupName $ResourceGroupName -Force

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