I can’t see the trigger I’ve created in arm-template-parameters-definition.json

Mark de Groot 46 Reputation points
2020-06-09T07:53:59.407+00:00

The problem is, I’ve created in the arm-template-parameters-definition.json an trigger with the name “Test” this due the fact that I want to parameterize the triggers for the different environments. (see screenshot below)

xM0wE.png

I used the parameterization template in ADF for this. The code is ok I guess because, I can use the variable I’ve created in Devops.
The thing is, I don’t see the trigger I’ve created in the section “Triggers” it’s still empty (on all the environment I’ve deployed) (see screenshot)

rKJ6n.png

I’m missing something? Or did I forget something?

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
9,650 questions
0 comments No comments
{count} votes

Accepted answer
  1. MartinJaffer-MSFT 26,036 Reputation points
    2020-06-10T23:14:48.843+00:00

    To my understanding, the tool in your first screenshot is used to broadly say what kinds of things you want to parameterize in your ARM templates. I.E. "Parameterize the trigger property interval of all triggers" , not "Parameterize the properties of this trigger only, excluding all all triggers".

    It is not for defining entire triggers.

    For example, my different environments use different storage accounts, so I would want my event trigger to point to different accounts (scope property).
    To remove the default value of the scope (and force me to enter it so I don't forget), I would use:
    9708-triggerscope.jpg

    Then in my arm_template_parameters.json
    I see

       },  
               "EventTriggerTemplate_properties_typeProperties_scope": {  
                   "value": ""  
               }  
    

0 additional answers

Sort by: Most helpful