Azure / Azure/azure-docs-json-samples
Use parameters inside string
Open
- Dominant language
- PowerShell
- Stars
- 98
- Forks
- 128
- PR merge metrics
- No merged PRs in 30d
Description
How can I use these parameters inside a string?
For example I have the following line in my template
`"path": "/v2/datasets/@{encodeURIComponent(encodeURIComponent(parameters('sql_2_server')))},@{encodeURIComponent(encodeURIComponent(parameters('sql_2_database')))}/query/sql"`
As I have tried, I want to pass two parameters sql_2_server and sql_2_database inside this.
What's the syntax for this??
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.