question

MarkdeGroot-3263 avatar image
0 Votes"
MarkdeGroot-3263 asked MarkdeGroot-3263 commented

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

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
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

MartinJaffer-MSFT avatar image
0 Votes"
MartinJaffer-MSFT answered MarkdeGroot-3263 commented

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": ""
        }



triggerscope.jpg (78.3 KiB)
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@MarkdeGroot-3263
Did my suggestion help you?

1 Vote 1 ·

Yes I think i'm getting the idea ;)

0 Votes 0 ·