2021年1月27日星期三

ADF deployment without making changes on trigger status

I am doing CI/CD on Azure Data Factory.

I do have a DEV instance and PROD instance of Azure Data Factory.

The deployment process is going smooth except one problem with the triggers.

I do have around 20 triggers in which 15 are in running state and 5 are stopped for a while in PROD.

Since DEV ADF is a development instance and i do not want to run any of the triggers in scheduled manner in development instance status of all triggers are set to stopped.

Currently the trigger status changes from DEV to PROD deployment is by replacing the string '"runtimeState": "Stopped"', '"runtimeState": "Started"' in the ARM template json file. enter image description here

But this will start all of the triggers in the production after deployment along with the 5 triggers which are stopped for a while.

Is there any way to un touch the trigger status at the time of deployment in PROD and only add newly created trigger into PROD without touching the existing triggers in PROD?

https://stackoverflow.com/questions/65919254/adf-deployment-without-making-changes-on-trigger-status January 27, 2021 at 08:32PM

没有评论:

发表评论