|
5 | 5 | "metadata": { |
6 | 6 | "_generator": { |
7 | 7 | "name": "bicep", |
8 | | - "version": "0.41.2.15936", |
9 | | - "templateHash": "5358772599129171911" |
| 8 | + "version": "0.39.26.7824", |
| 9 | + "templateHash": "18378296288333564754" |
10 | 10 | }, |
11 | 11 | "name": "Content Processing Solution Accelerator", |
12 | 12 | "description": "Bicep template to deploy the Content Processing Solution Accelerator with AVM compliance." |
|
348 | 348 | "metadata": { |
349 | 349 | "_generator": { |
350 | 350 | "name": "bicep", |
351 | | - "version": "0.41.2.15936", |
352 | | - "templateHash": "4055670269816744382" |
| 351 | + "version": "0.39.26.7824", |
| 352 | + "templateHash": "2779842231546071291" |
353 | 353 | } |
354 | 354 | }, |
355 | 355 | "definitions": { |
|
19225 | 19225 | "metadata": { |
19226 | 19226 | "_generator": { |
19227 | 19227 | "name": "bicep", |
19228 | | - "version": "0.41.2.15936", |
19229 | | - "templateHash": "6350282028214740152" |
| 19228 | + "version": "0.39.26.7824", |
| 19229 | + "templateHash": "9967760373683235080" |
19230 | 19230 | } |
19231 | 19231 | }, |
19232 | 19232 | "parameters": { |
|
23231 | 23231 | "metadata": { |
23232 | 23232 | "_generator": { |
23233 | 23233 | "name": "bicep", |
23234 | | - "version": "0.41.2.15936", |
23235 | | - "templateHash": "13929816981891754138" |
| 23234 | + "version": "0.39.26.7824", |
| 23235 | + "templateHash": "11438993289824448790" |
23236 | 23236 | } |
23237 | 23237 | }, |
23238 | 23238 | "parameters": { |
|
23823 | 23823 | "metadata": { |
23824 | 23824 | "_generator": { |
23825 | 23825 | "name": "bicep", |
23826 | | - "version": "0.41.2.15936", |
23827 | | - "templateHash": "17694195801715707119" |
| 23826 | + "version": "0.39.26.7824", |
| 23827 | + "templateHash": "18073394536155497558" |
23828 | 23828 | }, |
23829 | 23829 | "name": "Container Registry Module" |
23830 | 23830 | }, |
|
35187 | 35187 | "avmContainerApp_API", |
35188 | 35188 | "avmContainerApp_Workflow", |
35189 | 35189 | "avmManagedIdentity", |
35190 | | - "[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').storageQueue)]", |
35191 | 35190 | "[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').storageBlob)]", |
| 35191 | + "[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').storageQueue)]", |
35192 | 35192 | "virtualNetwork" |
35193 | 35193 | ] |
35194 | 35194 | }, |
|
35308 | 35308 | "metadata": { |
35309 | 35309 | "_generator": { |
35310 | 35310 | "name": "bicep", |
35311 | | - "version": "0.41.2.15936", |
35312 | | - "templateHash": "11676375352983709807" |
| 35311 | + "version": "0.39.26.7824", |
| 35312 | + "templateHash": "11365341673325597162" |
35313 | 35313 | }, |
35314 | 35314 | "name": "Cognitive Services", |
35315 | 35315 | "description": "This module deploys a Cognitive Service." |
|
36558 | 36558 | "metadata": { |
36559 | 36559 | "_generator": { |
36560 | 36560 | "name": "bicep", |
36561 | | - "version": "0.41.2.15936", |
36562 | | - "templateHash": "8716336912243881623" |
| 36561 | + "version": "0.39.26.7824", |
| 36562 | + "templateHash": "15006072223125242147" |
36563 | 36563 | } |
36564 | 36564 | }, |
36565 | 36565 | "definitions": { |
|
37522 | 37522 | "condition": "[and(not(empty(coalesce(parameters('lock'), createObject()))), not(equals(tryGet(parameters('lock'), 'kind'), 'None')))]", |
37523 | 37523 | "type": "Microsoft.Authorization/locks", |
37524 | 37524 | "apiVersion": "2020-05-01", |
37525 | | - "scope": "[resourceId('Microsoft.CognitiveServices/accounts', parameters('name'))]", |
| 37525 | + "scope": "[format('Microsoft.CognitiveServices/accounts/{0}', parameters('name'))]", |
37526 | 37526 | "name": "[coalesce(tryGet(parameters('lock'), 'name'), format('lock-{0}', parameters('name')))]", |
37527 | 37527 | "properties": { |
37528 | 37528 | "level": "[coalesce(tryGet(parameters('lock'), 'kind'), '')]", |
|
37536 | 37536 | }, |
37537 | 37537 | "type": "Microsoft.Insights/diagnosticSettings", |
37538 | 37538 | "apiVersion": "2021-05-01-preview", |
37539 | | - "scope": "[resourceId('Microsoft.CognitiveServices/accounts', parameters('name'))]", |
| 37539 | + "scope": "[format('Microsoft.CognitiveServices/accounts/{0}', parameters('name'))]", |
37540 | 37540 | "name": "[coalesce(tryGet(coalesce(parameters('diagnosticSettings'), createArray())[copyIndex()], 'name'), format('{0}-diagnosticSettings', parameters('name')))]", |
37541 | 37541 | "properties": { |
37542 | 37542 | "copy": [ |
|
37574 | 37574 | }, |
37575 | 37575 | "type": "Microsoft.Authorization/roleAssignments", |
37576 | 37576 | "apiVersion": "2022-04-01", |
37577 | | - "scope": "[resourceId('Microsoft.CognitiveServices/accounts', parameters('name'))]", |
| 37577 | + "scope": "[format('Microsoft.CognitiveServices/accounts/{0}', parameters('name'))]", |
37578 | 37578 | "name": "[coalesce(tryGet(coalesce(variables('formattedRoleAssignments'), createArray())[copyIndex()], 'name'), guid(resourceId('Microsoft.CognitiveServices/accounts', parameters('name')), coalesce(variables('formattedRoleAssignments'), createArray())[copyIndex()].principalId, coalesce(variables('formattedRoleAssignments'), createArray())[copyIndex()].roleDefinitionId))]", |
37579 | 37579 | "properties": { |
37580 | 37580 | "roleDefinitionId": "[coalesce(variables('formattedRoleAssignments'), createArray())[copyIndex()].roleDefinitionId]", |
|
38367 | 38367 | "metadata": { |
38368 | 38368 | "_generator": { |
38369 | 38369 | "name": "bicep", |
38370 | | - "version": "0.41.2.15936", |
38371 | | - "templateHash": "10989408486030617267" |
| 38370 | + "version": "0.39.26.7824", |
| 38371 | + "templateHash": "12797226417049698978" |
38372 | 38372 | } |
38373 | 38373 | }, |
38374 | 38374 | "definitions": { |
|
38521 | 38521 | "metadata": { |
38522 | 38522 | "_generator": { |
38523 | 38523 | "name": "bicep", |
38524 | | - "version": "0.41.2.15936", |
38525 | | - "templateHash": "7933643033523871028" |
| 38524 | + "version": "0.39.26.7824", |
| 38525 | + "templateHash": "422299638943108486" |
38526 | 38526 | } |
38527 | 38527 | }, |
38528 | 38528 | "definitions": { |
|
38739 | 38739 | "metadata": { |
38740 | 38740 | "_generator": { |
38741 | 38741 | "name": "bicep", |
38742 | | - "version": "0.41.2.15936", |
38743 | | - "templateHash": "8716336912243881623" |
| 38742 | + "version": "0.39.26.7824", |
| 38743 | + "templateHash": "15006072223125242147" |
38744 | 38744 | } |
38745 | 38745 | }, |
38746 | 38746 | "definitions": { |
|
39703 | 39703 | "condition": "[and(not(empty(coalesce(parameters('lock'), createObject()))), not(equals(tryGet(parameters('lock'), 'kind'), 'None')))]", |
39704 | 39704 | "type": "Microsoft.Authorization/locks", |
39705 | 39705 | "apiVersion": "2020-05-01", |
39706 | | - "scope": "[resourceId('Microsoft.CognitiveServices/accounts', parameters('name'))]", |
| 39706 | + "scope": "[format('Microsoft.CognitiveServices/accounts/{0}', parameters('name'))]", |
39707 | 39707 | "name": "[coalesce(tryGet(parameters('lock'), 'name'), format('lock-{0}', parameters('name')))]", |
39708 | 39708 | "properties": { |
39709 | 39709 | "level": "[coalesce(tryGet(parameters('lock'), 'kind'), '')]", |
|
39717 | 39717 | }, |
39718 | 39718 | "type": "Microsoft.Insights/diagnosticSettings", |
39719 | 39719 | "apiVersion": "2021-05-01-preview", |
39720 | | - "scope": "[resourceId('Microsoft.CognitiveServices/accounts', parameters('name'))]", |
| 39720 | + "scope": "[format('Microsoft.CognitiveServices/accounts/{0}', parameters('name'))]", |
39721 | 39721 | "name": "[coalesce(tryGet(coalesce(parameters('diagnosticSettings'), createArray())[copyIndex()], 'name'), format('{0}-diagnosticSettings', parameters('name')))]", |
39722 | 39722 | "properties": { |
39723 | 39723 | "copy": [ |
|
39755 | 39755 | }, |
39756 | 39756 | "type": "Microsoft.Authorization/roleAssignments", |
39757 | 39757 | "apiVersion": "2022-04-01", |
39758 | | - "scope": "[resourceId('Microsoft.CognitiveServices/accounts', parameters('name'))]", |
| 39758 | + "scope": "[format('Microsoft.CognitiveServices/accounts/{0}', parameters('name'))]", |
39759 | 39759 | "name": "[coalesce(tryGet(coalesce(variables('formattedRoleAssignments'), createArray())[copyIndex()], 'name'), guid(resourceId('Microsoft.CognitiveServices/accounts', parameters('name')), coalesce(variables('formattedRoleAssignments'), createArray())[copyIndex()].principalId, coalesce(variables('formattedRoleAssignments'), createArray())[copyIndex()].roleDefinitionId))]", |
39760 | 39760 | "properties": { |
39761 | 39761 | "roleDefinitionId": "[coalesce(variables('formattedRoleAssignments'), createArray())[copyIndex()].roleDefinitionId]", |
|
40548 | 40548 | "metadata": { |
40549 | 40549 | "_generator": { |
40550 | 40550 | "name": "bicep", |
40551 | | - "version": "0.41.2.15936", |
40552 | | - "templateHash": "10989408486030617267" |
| 40551 | + "version": "0.39.26.7824", |
| 40552 | + "templateHash": "12797226417049698978" |
40553 | 40553 | } |
40554 | 40554 | }, |
40555 | 40555 | "definitions": { |
|
40702 | 40702 | "metadata": { |
40703 | 40703 | "_generator": { |
40704 | 40704 | "name": "bicep", |
40705 | | - "version": "0.41.2.15936", |
40706 | | - "templateHash": "7933643033523871028" |
| 40705 | + "version": "0.39.26.7824", |
| 40706 | + "templateHash": "422299638943108486" |
40707 | 40707 | } |
40708 | 40708 | }, |
40709 | 40709 | "definitions": { |
@@ -41721,10 +41721,10 @@ |
41721 | 41721 | }, |
41722 | 41722 | "dependsOn": [ |
41723 | 41723 | "avmAiServices", |
41724 | | - "[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').contentUnderstanding)]", |
41725 | 41724 | "[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').cognitiveServices)]", |
41726 | | - "[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').aiServices)]", |
41727 | 41725 | "[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').openAI)]", |
| 41726 | + "[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').aiServices)]", |
| 41727 | + "[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').contentUnderstanding)]", |
41728 | 41728 | "virtualNetwork" |
41729 | 41729 | ] |
41730 | 41730 | }, |
|
45022 | 45022 | }, |
45023 | 45023 | "dependsOn": [ |
45024 | 45024 | "avmAiServices_cu", |
45025 | | - "[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').aiServices)]", |
45026 | 45025 | "[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').cognitiveServices)]", |
45027 | 45026 | "[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').contentUnderstanding)]", |
| 45027 | + "[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').aiServices)]", |
45028 | 45028 | "virtualNetwork" |
45029 | 45029 | ] |
45030 | 45030 | }, |
|
45045 | 45045 | "value": "[parameters('location')]" |
45046 | 45046 | }, |
45047 | 45047 | "tags": { |
45048 | | - "value": { |
45049 | | - "app": "[variables('solutionSuffix')]", |
45050 | | - "location": "[parameters('location')]" |
45051 | | - } |
| 45048 | + "value": "[shallowMerge(createArray(resourceGroup().tags, parameters('tags')))]" |
45052 | 45049 | }, |
45053 | 45050 | "managedIdentities": { |
45054 | 45051 | "value": { |
|
68558 | 68555 | }, |
68559 | 68556 | "value": "[reference('avmContainerRegistry').outputs.loginServer.value]" |
68560 | 68557 | }, |
| 68558 | + "CONTENT_UNDERSTANDING_ACCOUNT_NAME": { |
| 68559 | + "type": "string", |
| 68560 | + "metadata": { |
| 68561 | + "description": "The name of the Content Understanding AI Services account." |
| 68562 | + }, |
| 68563 | + "value": "[reference('avmAiServices_cu').outputs.name.value]" |
| 68564 | + }, |
68561 | 68565 | "AZURE_RESOURCE_GROUP": { |
68562 | 68566 | "type": "string", |
68563 | 68567 | "metadata": { |
|
0 commit comments