Skip to content

Use parameters inside string #207

@VajiraPrabuddhaka

Description

@VajiraPrabuddhaka

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??

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions