Hello Choudary R ,
Welcome to the MS Q&A platform.
To override the default parameter template, create a custom parameter template named template-parameters-definition.json in the root folder(master or main) of your Git branch. You must use this exact file name. When Azure Synapse/ADF publishes from the collaboration branch or the deployment task validates the artifacts in other branches, it reads this file and uses its configuration to generate the parameters. If Azure Synapse/ADF doesn't find that file, is uses the default parameter template.
Example:
{
"Microsoft.DataFactory/factories/linkedServices": {
"*": {
"properties": {
"typeProperties": {
"accountName": "=",
"username": "=",
"connectionString": "|:-connectionString:String",
"secretAccessKey": "|"
}
}
}
}
In this example:
The connectionString
property is parameterized as a securestring
value. It doesn't have a default value. The parameter name is shortened and suffixed with connectionString
.
Reference document: https://learn.microsoft.com/en-us/azure/synapse-analytics/cicd/continuous-integration-delivery#create-custom-parameters-in-the-workspace-template
I hope this helps. Please let me know if you have any further questions.