Skip to content

Commit f67e565

Browse files
committed
moved some variables to parameters
1 parent 1b14cb9 commit f67e565

1 file changed

Lines changed: 12 additions & 20 deletions

File tree

samples/manage/synapse-analytics/workspace/azuredeploy.json

Lines changed: 12 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -25,22 +25,6 @@
2525
"tagValues": {
2626
"defaultValue": {},
2727
"type": "Object"
28-
}
29-
},
30-
"variables": {
31-
"storageBlobDataContributorRoleID": "ba92f5b4-2d11-453d-a403-e96b0029c9fe",
32-
"defaultDataLakeStorageAccountUrl": "[concat('https://', parameters('defaultDataLakeStorageAccountName'), '.dfs.core.windows.net')]",
33-
"setWorkspaceIdentityRbacOnFilesystem": {
34-
"defaultValue": true,
35-
"type": "Bool"
36-
},
37-
"allowAllConnections": {
38-
"defaultValue": true,
39-
"type": "Bool"
40-
},
41-
"poolSubnetId": {
42-
"defaultValue": "",
43-
"type": "String"
4428
},
4529
"storageSubscriptionID": {
4630
"defaultValue": "[subscription().subscriptionId]",
@@ -55,6 +39,14 @@
5539
"type": "String"
5640
}
5741
},
42+
"variables": {
43+
"storageBlobDataContributorRoleID": "ba92f5b4-2d11-453d-a403-e96b0029c9fe",
44+
"defaultDataLakeStorageAccountUrl": "[concat('https://', parameters('defaultDataLakeStorageAccountName'), '.dfs.core.windows.net')]",
45+
"poolSubnetId": {
46+
"defaultValue": "",
47+
"type": "String"
48+
}
49+
},
5850
"resources": [
5951
{
6052
"type": "Microsoft.Synapse/workspaces",
@@ -89,7 +81,7 @@
8981
"startIpAddress": "0.0.0.0",
9082
"endIpAddress": "255.255.255.255"
9183
},
92-
"condition": "[variables('allowAllConnections')]"
84+
"condition": true
9385
}
9486
]
9587
},
@@ -122,9 +114,9 @@
122114
]
123115
}
124116
},
125-
"subscriptionId": "[variables('storageSubscriptionID')]",
126-
"resourceGroup": "[variables('storageResourceGroupName')]",
127-
"condition": "[variables('setWorkspaceIdentityRbacOnFilesystem')]"
117+
"subscriptionId": "[parameters('storageSubscriptionID')]",
118+
"resourceGroup": "[parameters('storageResourceGroupName')]",
119+
"condition": true
128120
}
129121
],
130122
"outputs": {}

0 commit comments

Comments
 (0)