|
6 | 6 | "type": "String" |
7 | 7 | }, |
8 | 8 | "location": { |
9 | | - "defaultValue": "[resourceGroup().location]", |
10 | 9 | "type": "String" |
11 | 10 | }, |
12 | 11 | "defaultDataLakeStorageAccountName": { |
13 | | - "type": "String", |
14 | | - "metadata": { |
15 | | - "description": "Data Lake Storage account that you will use for Synapse Workspace." |
16 | | - } |
| 12 | + "type": "String" |
17 | 13 | }, |
18 | 14 | "defaultDataLakeStorageFilesystemName": { |
19 | 15 | "type": "String" |
20 | 16 | }, |
21 | 17 | "sqlAdministratorLogin": { |
22 | 18 | "type": "String" |
23 | 19 | }, |
24 | | - "sqlAdministratorPassword": { |
| 20 | + "sqlAdministratorLoginPassword": { |
25 | 21 | "type": "SecureString" |
26 | 22 | }, |
27 | 23 | "setWorkspaceIdentityRbacOnFilesystem": { |
|
36 | 32 | "type": "String" |
37 | 33 | }, |
38 | 34 | "tagValues": { |
39 | | - "defaultValue": {"createdWith":"Azure Resource Manager template"}, |
| 35 | + "defaultValue": {}, |
40 | 36 | "type": "Object" |
41 | 37 | }, |
42 | 38 | "storageSubscriptionID": { |
43 | 39 | "defaultValue": "[subscription().subscriptionId]", |
44 | | - "type": "String", |
45 | | - "metadata": { |
46 | | - "description": "Do not change this value if Data Lake Storage is placed in the same subscription as Synapse Workspace(recommended)." |
47 | | - } |
| 40 | + "type": "String" |
48 | 41 | }, |
49 | 42 | "storageResourceGroupName": { |
50 | 43 | "defaultValue": "[resourceGroup().name]", |
51 | | - "type": "String", |
52 | | - "metadata": { |
53 | | - "description": "Do not change this value if Data Lake Storage is placed in the same resource group as Synapse Workspace." |
54 | | - } |
| 44 | + "type": "String" |
55 | 45 | }, |
56 | 46 | "storageLocation": { |
57 | 47 | "defaultValue": "[resourceGroup().location]", |
58 | | - "type": "String", |
59 | | - "metadata": { |
60 | | - "description": "Do not change this value if Data Lake Storage is placed in the same region as Synapse Workspace(recommended)." |
61 | | - } |
| 48 | + "type": "String" |
62 | 49 | } |
63 | 50 | }, |
64 | 51 | "variables": { |
65 | 52 | "storageBlobDataContributorRoleID": "ba92f5b4-2d11-453d-a403-e96b0029c9fe", |
66 | | - "defaultDataLakeStorageAccountUrl": "[concat('https://', parameters('defaultDataLakeStorageAccountName'), '.dfs.core.windows.net')]", |
67 | | - "poolSubnetId": { |
68 | | - "defaultValue": "", |
69 | | - "type": "String" |
70 | | - } |
| 53 | + "defaultDataLakeStorageAccountUrl": "[concat('https://', parameters('defaultDataLakeStorageAccountName'), '.dfs.core.windows.net')]" |
71 | 54 | }, |
72 | 55 | "resources": [ |
73 | 56 | { |
|
85 | 68 | "filesystem": "[parameters('defaultDataLakeStorageFilesystemName')]" |
86 | 69 | }, |
87 | 70 | "virtualNetworkProfile": { |
88 | | - "computeSubnetId": "[variables('poolSubnetId')]" |
| 71 | + "computeSubnetId": "[parameters('poolSubnetId')]" |
89 | 72 | }, |
90 | 73 | "sqlAdministratorLogin": "[parameters('sqlAdministratorLogin')]", |
91 | 74 | "sqlAdministratorLoginPassword": "[parameters('sqlAdministratorLoginPassword')]" |
|
102 | 85 | "properties": { |
103 | 86 | "startIpAddress": "0.0.0.0", |
104 | 87 | "endIpAddress": "255.255.255.255" |
105 | | - } |
| 88 | + }, |
| 89 | + "condition": "[parameters('allowAllConnections')]" |
106 | 90 | } |
107 | 91 | ] |
108 | 92 | }, |
|
136 | 120 | } |
137 | 121 | }, |
138 | 122 | "subscriptionId": "[parameters('storageSubscriptionID')]", |
139 | | - "resourceGroup": "[parameters('storageResourceGroupName')]" |
| 123 | + "resourceGroup": "[parameters('storageResourceGroupName')]", |
| 124 | + "condition": "[parameters('setWorkspaceIdentityRbacOnFilesystem')]" |
140 | 125 | } |
141 | 126 | ], |
142 | 127 | "outputs": {} |
|
0 commit comments