5
5
"metadata": {
6
6
"_generator": {
7
7
"name": "bicep",
8
- "version": "0.36.1.42791 ",
9
- "templateHash": "961802883849358046 "
8
+ "version": "0.36.177.2456 ",
9
+ "templateHash": "5192359171136519746 "
10
10
},
11
11
"name": "Content Processing Solution Accelerator",
12
12
"description": "Bicep template to deploy the Content Processing Solution Accelerator with AVM compliance."
219
219
}
220
220
}
221
221
},
222
+ "resourceGroupTags": {
223
+ "type": "Microsoft.Resources/tags",
224
+ "apiVersion": "2021-04-01",
225
+ "name": "default",
226
+ "properties": {
227
+ "tags": {
228
+ "TemplateName": "Content Processing"
229
+ }
230
+ }
231
+ },
222
232
"avmNetworkSecurityGroup": {
223
233
"condition": "[parameters('enablePrivateNetworking')]",
224
234
"type": "Microsoft.Resources/deployments",
245
255
"diagnosticSettings": {
246
256
"value": [
247
257
{
248
- "workspaceResourceId": "[listOutputsWithSecureValues(resourceId('Microsoft.Resources/deployments', 'deploy_log_analytics_workspace'), '2022-09-01'). resourceId]"
258
+ "workspaceResourceId": "[reference('logAnalyticsWorkspace').outputs. resourceId.value ]"
249
259
}
250
260
]
251
261
},
925
935
"diagnosticSettings": {
926
936
"value": [
927
937
{
928
- "workspaceResourceId": "[listOutputsWithSecureValues(resourceId('Microsoft.Resources/deployments', 'deploy_log_analytics_workspace'), '2022-09-01'). resourceId]"
938
+ "workspaceResourceId": "[reference('logAnalyticsWorkspace').outputs. resourceId.value ]"
929
939
}
930
940
]
931
941
},
1670
1680
"diagnosticSettings": {
1671
1681
"value": [
1672
1682
{
1673
- "workspaceResourceId": "[listOutputsWithSecureValues(resourceId('Microsoft.Resources/deployments', 'deploy_log_analytics_workspace'), '2022-09-01'). resourceId]"
1683
+ "workspaceResourceId": "[reference('logAnalyticsWorkspace').outputs. resourceId.value ]"
1674
1684
}
1675
1685
]
1676
1686
},
2350
2360
"diagnosticSettings": {
2351
2361
"value": [
2352
2362
{
2353
- "workspaceResourceId": "[listOutputsWithSecureValues(resourceId('Microsoft.Resources/deployments', 'deploy_log_analytics_workspace'), '2022-09-01'). resourceId]"
2363
+ "workspaceResourceId": "[reference('logAnalyticsWorkspace').outputs. resourceId.value ]"
2354
2364
}
2355
2365
]
2356
2366
},
3035
3045
"diagnosticSettings": {
3036
3046
"value": [
3037
3047
{
3038
- "workspaceResourceId": "[listOutputsWithSecureValues(resourceId('Microsoft.Resources/deployments', 'deploy_log_analytics_workspace'), '2022-09-01'). resourceId]"
3048
+ "workspaceResourceId": "[reference('logAnalyticsWorkspace').outputs. resourceId.value ]"
3039
3049
}
3040
3050
]
3041
3051
},
7898
7908
"metadata": {
7899
7909
"_generator": {
7900
7910
"name": "bicep",
7901
- "version": "0.36.1.42791 ",
7902
- "templateHash": "15981152896828585106 "
7911
+ "version": "0.36.177.2456 ",
7912
+ "templateHash": "3906046175102371285 "
7903
7913
}
7904
7914
},
7905
7915
"parameters": {
@@ -11014,15 +11024,15 @@
11014
11024
"outputs": {
11015
11025
"resourceId": {
11016
11026
"type": "string",
11017
- "value": "[if(variables('useExistingWorkspace'), extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', variables('existingLawSubscription'), variables('existingLawResourceGroup')), 'Microsoft.OperationalInsights/workspaces', variables('existingLawName')), listOutputsWithSecureValues(resourceId('Microsoft.Resources/deployments', 'deploy_new_log_analytics_workspace'), '2022-09-01'). resourceId)]"
11027
+ "value": "[if(variables('useExistingWorkspace'), extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', variables('existingLawSubscription'), variables('existingLawResourceGroup')), 'Microsoft.OperationalInsights/workspaces', variables('existingLawName')), reference('logAnalyticsWorkspace').outputs. resourceId.value )]"
11018
11028
},
11019
11029
"logAnalyticsWorkspaceId": {
11020
11030
"type": "string",
11021
- "value": "[if(variables('useExistingWorkspace'), reference('existingLogAnalyticsWorkspace').customerId, listOutputsWithSecureValues(resourceId('Microsoft.Resources/deployments', 'deploy_new_log_analytics_workspace'), '2022-09-01'). logAnalyticsWorkspaceId)]"
11031
+ "value": "[if(variables('useExistingWorkspace'), reference('existingLogAnalyticsWorkspace').customerId, reference('logAnalyticsWorkspace').outputs. logAnalyticsWorkspaceId.value )]"
11022
11032
},
11023
11033
"primarySharedKey": {
11024
11034
"type": "securestring",
11025
- "value": "[if(variables('useExistingWorkspace'), if(variables('useExistingWorkspace'), listKeys(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', variables('existingLawSubscription'), variables('existingLawResourceGroup')), 'Microsoft.OperationalInsights/workspaces', variables('existingLawName')), '2020-08-01'), listOutputsWithSecureValues(resourceId('Microsoft.Resources/deployments ', 'deploy_new_log_analytics_workspace'), ' 2022-09-01').primarySharedKey).primarySharedKey, listOutputsWithSecureValues(resourceId('Microsoft.Resources/deployments', 'deploy_new_log_analytics_workspace') , '2022-09-01').primarySharedKey)]"
11035
+ "value": "[if(variables('useExistingWorkspace'), if(variables('useExistingWorkspace'), listKeys(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', variables('existingLawSubscription'), variables('existingLawResourceGroup')), 'Microsoft.OperationalInsights/workspaces', variables('existingLawName')), '2020-08-01'), listOutputsWithSecureValues('logAnalyticsWorkspace ', '2022-09-01').primarySharedKey).primarySharedKey, listOutputsWithSecureValues('logAnalyticsWorkspace' , '2022-09-01').primarySharedKey)]"
11026
11036
}
11027
11037
}
11028
11038
}
@@ -11045,12 +11055,12 @@
11045
11055
"value": "[parameters('location')]"
11046
11056
},
11047
11057
"workspaceResourceId": {
11048
- "value": "[listOutputsWithSecureValues(resourceId('Microsoft.Resources/deployments', 'deploy_log_analytics_workspace'), '2022-09-01'). resourceId]"
11058
+ "value": "[reference('logAnalyticsWorkspace').outputs. resourceId.value ]"
11049
11059
},
11050
11060
"diagnosticSettings": {
11051
11061
"value": [
11052
11062
{
11053
- "workspaceResourceId": "[listOutputsWithSecureValues(resourceId('Microsoft.Resources/deployments', 'deploy_log_analytics_workspace'), '2022-09-01'). resourceId]"
11063
+ "workspaceResourceId": "[reference('logAnalyticsWorkspace').outputs. resourceId.value ]"
11054
11064
}
11055
11065
]
11056
11066
},
11783
11793
"metadata": {
11784
11794
"_generator": {
11785
11795
"name": "bicep",
11786
- "version": "0.36.1.42791 ",
11787
- "templateHash": "2317259662067975763 "
11796
+ "version": "0.36.177.2456 ",
11797
+ "templateHash": "14410385321137128263 "
11788
11798
}
11789
11799
},
11790
11800
"parameters": {
12358
12368
},
12359
12369
"publicNetworkAccess": "[if(parameters('enablePrivateNetworking'), createObject('value', 'Disabled'), createObject('value', 'Enabled'))]",
12360
12370
"logAnalyticsWorkspaceResourceId": {
12361
- "value": "[listOutputsWithSecureValues(resourceId('Microsoft.Resources/deployments', 'deploy_log_analytics_workspace'), '2022-09-01'). resourceId]"
12371
+ "value": "[reference('logAnalyticsWorkspace').outputs. resourceId.value ]"
12362
12372
},
12363
12373
"networkAcls": {
12364
12374
"value": {
12373
12383
"metadata": {
12374
12384
"_generator": {
12375
12385
"name": "bicep",
12376
- "version": "0.36.1.42791 ",
12377
- "templateHash": "12497992766525707634 "
12386
+ "version": "0.36.177.2456 ",
12387
+ "templateHash": "12745773382509549839 "
12378
12388
},
12379
12389
"name": "Key Vault Module"
12380
12390
},
15912
15922
"metadata": {
15913
15923
"_generator": {
15914
15924
"name": "bicep",
15915
- "version": "0.36.1.42791 ",
15916
- "templateHash": "11910096117865508081 "
15925
+ "version": "0.36.177.2456 ",
15926
+ "templateHash": "11092248228709008584 "
15917
15927
},
15918
15928
"name": "Container Registry Module"
15919
15929
},
24942
24952
"diagnosticSettings": {
24943
24953
"value": [
24944
24954
{
24945
- "workspaceResourceId": "[listOutputsWithSecureValues(resourceId('Microsoft.Resources/deployments', 'deploy_log_analytics_workspace'), '2022-09-01'). resourceId]"
24955
+ "workspaceResourceId": "[reference('logAnalyticsWorkspace').outputs. resourceId.value ]"
24946
24956
}
24947
24957
]
24948
24958
},
24998
25008
"metadata": {
24999
25009
"_generator": {
25000
25010
"name": "bicep",
25001
- "version": "0.36.1.42791 ",
25002
- "templateHash": "16330577693396165210 "
25011
+ "version": "0.36.177.2456 ",
25012
+ "templateHash": "5761548449731819585 "
25003
25013
},
25004
25014
"name": "Cognitive Services",
25005
25015
"description": "This module deploys a Cognitive Service."
26248
26258
"metadata": {
26249
26259
"_generator": {
26250
26260
"name": "bicep",
26251
- "version": "0.36.1.42791 ",
26252
- "templateHash": "4128376395637895528 "
26261
+ "version": "0.36.177.2456 ",
26262
+ "templateHash": "11270933172961789567 "
26253
26263
}
26254
26264
},
26255
26265
"definitions": {
28057
28067
"metadata": {
28058
28068
"_generator": {
28059
28069
"name": "bicep",
28060
- "version": "0.36.1.42791 ",
28061
- "templateHash": "1200612323329026557 "
28070
+ "version": "0.36.177.2456 ",
28071
+ "templateHash": "9150529619101779014 "
28062
28072
}
28063
28073
},
28064
28074
"definitions": {
28211
28221
"metadata": {
28212
28222
"_generator": {
28213
28223
"name": "bicep",
28214
- "version": "0.36.1.42791 ",
28215
- "templateHash": "125568697111155565 "
28224
+ "version": "0.36.177.2456 ",
28225
+ "templateHash": "18131656256983910282 "
28216
28226
}
28217
28227
},
28218
28228
"definitions": {
28429
28439
"metadata": {
28430
28440
"_generator": {
28431
28441
"name": "bicep",
28432
- "version": "0.36.1.42791 ",
28433
- "templateHash": "4128376395637895528 "
28442
+ "version": "0.36.177.2456 ",
28443
+ "templateHash": "11270933172961789567 "
28434
28444
}
28435
28445
},
28436
28446
"definitions": {
30238
30248
"metadata": {
30239
30249
"_generator": {
30240
30250
"name": "bicep",
30241
- "version": "0.36.1.42791 ",
30242
- "templateHash": "1200612323329026557 "
30251
+ "version": "0.36.177.2456 ",
30252
+ "templateHash": "9150529619101779014 "
30243
30253
}
30244
30254
},
30245
30255
"definitions": {
30392
30402
"metadata": {
30393
30403
"_generator": {
30394
30404
"name": "bicep",
30395
- "version": "0.36.1.42791 ",
30396
- "templateHash": "125568697111155565 "
30405
+ "version": "0.36.177.2456 ",
30406
+ "templateHash": "18131656256983910282 "
30397
30407
}
30398
30408
},
30399
30409
"definitions": {
@@ -30633,10 +30643,10 @@
30633
30643
"dependsOn": [
30634
30644
"avmContainerApp",
30635
30645
"avmManagedIdentity",
30646
+ "[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').aiServices)]",
30636
30647
"[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').openAI)]",
30637
30648
"[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').contentUnderstanding)]",
30638
30649
"[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').cognitiveServices)]",
30639
- "[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').aiServices)]",
30640
30650
"avmVirtualNetwork",
30641
30651
"logAnalyticsWorkspace"
30642
30652
]
32974
32984
"dependsOn": [
32975
32985
"avmContainerApp",
32976
32986
"avmManagedIdentity",
32977
- "[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').contentUnderstanding)]",
32978
32987
"[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').cognitiveServices)]",
32988
+ "[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').contentUnderstanding)]",
32979
32989
"avmVirtualNetwork"
32980
32990
]
32981
32991
},
33010
33020
"value": {
33011
33021
"destination": "log-analytics",
33012
33022
"logAnalyticsConfiguration": {
33013
- "customerId": "[listOutputsWithSecureValues(resourceId('Microsoft.Resources/deployments', 'deploy_log_analytics_workspace'), '2022-09-01'). logAnalyticsWorkspaceId]",
33014
- "sharedKey": "[listOutputsWithSecureValues(resourceId('Microsoft.Resources/deployments', 'deploy_log_analytics_workspace') , '2022-09-01').primarySharedKey]"
33023
+ "customerId": "[reference('logAnalyticsWorkspace').outputs. logAnalyticsWorkspaceId.value ]",
33024
+ "sharedKey": "[listOutputsWithSecureValues('logAnalyticsWorkspace' , '2022-09-01').primarySharedKey]"
33015
33025
}
33016
33026
}
33017
33027
},
42891
42901
"diagnosticSettings": {
42892
42902
"value": [
42893
42903
{
42894
- "workspaceResourceId": "[listOutputsWithSecureValues(resourceId('Microsoft.Resources/deployments', 'deploy_log_analytics_workspace'), '2022-09-01'). resourceId]",
42904
+ "workspaceResourceId": "[reference('logAnalyticsWorkspace').outputs. resourceId.value ]",
42895
42905
"logCategoriesAndGroups": [
42896
42906
{
42897
42907
"categoryGroup": "allLogs",
@@ -42989,19 +42999,19 @@
42989
42999
},
42990
43000
{
42991
43001
"name": "APP_STORAGE_BLOB_URL",
42992
- "value": "[listOutputsWithSecureValues(resourceId('Microsoft.Resources/deployments', format(parameters('resourceNameFormatString'), 'st')), '2022-09-01'). serviceEndpoints.blob]"
43002
+ "value": "[reference('avmStorageAccount').outputs. serviceEndpoints.value .blob]"
42993
43003
},
42994
43004
{
42995
43005
"name": "APP_STORAGE_QUEUE_URL",
42996
- "value": "[listOutputsWithSecureValues(resourceId('Microsoft.Resources/deployments', format(parameters('resourceNameFormatString'), 'st')), '2022-09-01'). serviceEndpoints.queue]"
43006
+ "value": "[reference('avmStorageAccount').outputs. serviceEndpoints.value .queue]"
42997
43007
},
42998
43008
{
42999
43009
"name": "APP_AI_PROJECT_ENDPOINT",
43000
43010
"value": "[reference('avmAiServices').outputs.aiProjectInfo.value.apiEndpoint]"
43001
43011
},
43002
43012
{
43003
43013
"name": "APP_COSMOS_CONNSTR",
43004
- "value": "[listOutputsWithSecureValues(resourceId('Microsoft.Resources/deployments', format(parameters('resourceNameFormatString'), 'cosmos-')) , '2022-09-01').primaryReadWriteConnectionString]"
43014
+ "value": "[listOutputsWithSecureValues('avmCosmosDB' , '2022-09-01').primaryReadWriteConnectionString]"
43005
43015
}
43006
43016
]
43007
43017
},
0 commit comments