@Thiyagu Rajendran , thank you for your question.
You can follow the steps to Deploy with the REST API
You can define a parameters file and provide the link in the Request Body like:
{
"properties": {
"templateLink": {
"uri": "<template-link>",
"contentVersion": "<content-version>"
},
"parametersLink": {
"uri": "<parameter-file-link>",
"contentVersion": "<content-version>"
},
...
}
}
or
pass parameters directly in the Request Body like:
{
"properties": {
"templateLink": {
"uri": "<template-link>",
"contentVersion": "<content-version>"
},
"parameters": {
...
},
...
}
}
For more information on creating Azure Resource Manager parameter files please check here.
Parameter precedence
You can use inline parameters and a local parameter file in the same deployment operation. For example, you can specify some values in the local parameter file and add other values inline during deployment. If you provide values for a parameter in both the local parameter file and inline, the inline value takes precedence.
It's possible to use an external parameter file, by providing the URI to the file. When you use an external parameter file, you can't pass other values either inline or from a local file. All inline parameters are ignored. Provide all parameter values in the external file.
----
Hope this helps.
Please "Accept as Answer" if it helped, so that it can help others in the community looking for help on similar topics.