Share via

synapse notebook spark pool parameter

John 111 Reputation points
2023-04-20T22:15:26.4533333+00:00

Hello, I am using the below code in my template parameters file to parametrize my synapse spark pool. But somehow this is not parameterized the spark pool name. Please correct me if I am doing something wrong here.

{
    "Microsoft.Synapse/workspaces/notebooks": {
        "properties": {
            "bigDataPool": {
                "referenceName": "-"
            }

As per the document, it should parametrize everything under the reference name.

Azure Synapse Analytics
Azure Synapse Analytics

An Azure analytics service that brings together data integration, enterprise data warehousing, and big data analytics. Previously known as Azure SQL Data Warehouse.

0 comments No comments

Answer accepted by question author

Bhargava-MSFT 31,361 Reputation points Microsoft Employee Moderator
2023-04-21T21:24:49.6766667+00:00

Hello John, You can use the mentioned code in your Template-paramters-definition.json file. This is explained in the below tech community blog. Please check this blog and let me know if you have any further questions.
https://techcommunity.microsoft.com/t5/azure-synapse-analytics-blog/cicd-automation-in-synapse-analytics-taking-advantage-of-custom/ba-p/3513546



"Microsoft.Synapse/workspaces/notebooks": {
        "properties": {
            "bigDataPool": {
                "referenceName": "="
            },
             "metadata": {
                "a365ComputeOptions": {
                        "id": "=",
                         "name": "=",
                        "endpoint": "="
                }
            }
        }
     }

If this answers your question, please consider accepting the answer by hitting the Accept answer and up-vote as it helps the community look for answers to similar questions.

Was this answer helpful?


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.