Hello @stejpal Thanks for reaching out on this forum.
I was trying to understand the requirement! Correct me if needed!
I would like to use the parameter-definition file to generate a set of variables....
Did you consider a variable in the parameter file and use it in the ARM template?
Something like below? how does your current ARM templates look like, please add some example on current and expected requirement!!
{
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"retryValue": {
"type": "int",
"defaultValue": 3,
"metadata": {
"description": "The number of times to retry the web activity."
}
}
}
}
In the ARM template, you can reference the variable using the parameters function. Here is an example of how to use the variable in the ARM template1:
{
"name": "WebActivity",
"type": "Microsoft.DataFactory/factories/pipelines/activities",
"dependsOn": [
"[concat('Microsoft.DataFactory/factories/', parameters('factoryName'))]"
],
"properties": {
"type": "WebActivity",
"typeProperties": {
"url": "https://www.example.com",
"method": "GET",
"retry": {
"count": "@parameters('retryValue')"
}
}
}
}