|
6 | 6 | "_generator": { |
7 | 7 | "name": "bicep", |
8 | 8 | "version": "0.41.2.15936", |
9 | | - "templateHash": "5358772599129171911" |
| 9 | + "templateHash": "5718783598601616074" |
10 | 10 | }, |
11 | 11 | "name": "Content Processing Solution Accelerator", |
12 | 12 | "description": "Bicep template to deploy the Content Processing Solution Accelerator with AVM compliance." |
|
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 | }, |
|
45022 | 45022 | }, |
45023 | 45023 | "dependsOn": [ |
45024 | 45024 | "avmAiServices_cu", |
| 45025 | + "[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').contentUnderstanding)]", |
45025 | 45026 | "[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').aiServices)]", |
45026 | 45027 | "[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').cognitiveServices)]", |
45027 | | - "[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').contentUnderstanding)]", |
45028 | 45028 | "virtualNetwork" |
45029 | 45029 | ] |
45030 | 45030 | }, |
|
46521 | 46521 | { |
46522 | 46522 | "name": "AZURE_LOGGING_PACKAGES", |
46523 | 46523 | "value": "" |
| 46524 | + }, |
| 46525 | + { |
| 46526 | + "name": "APPLICATIONINSIGHTS_CONNECTION_STRING", |
| 46527 | + "value": "[if(parameters('enableMonitoring'), reference('applicationInsights').outputs.connectionString.value, '')]" |
| 46528 | + }, |
| 46529 | + { |
| 46530 | + "name": "OTEL_SERVICE_NAME", |
| 46531 | + "value": "ContentProcessor" |
46524 | 46532 | } |
46525 | 46533 | ] |
46526 | 46534 | } |
|
48061 | 48069 | } |
48062 | 48070 | }, |
48063 | 48071 | "dependsOn": [ |
| 48072 | + "applicationInsights", |
48064 | 48073 | "avmContainerAppEnv", |
48065 | 48074 | "avmContainerRegistryReader" |
48066 | 48075 | ] |
|
48133 | 48142 | { |
48134 | 48143 | "name": "AZURE_LOGGING_PACKAGES", |
48135 | 48144 | "value": "" |
| 48145 | + }, |
| 48146 | + { |
| 48147 | + "name": "APPLICATIONINSIGHTS_CONNECTION_STRING", |
| 48148 | + "value": "[if(parameters('enableMonitoring'), reference('applicationInsights').outputs.connectionString.value, '')]" |
| 48149 | + }, |
| 48150 | + { |
| 48151 | + "name": "OTEL_SERVICE_NAME", |
| 48152 | + "value": "ContentProcessorAPI" |
48136 | 48153 | } |
48137 | 48154 | ], |
48138 | 48155 | "probes": [ |
|
49734 | 49751 | } |
49735 | 49752 | }, |
49736 | 49753 | "dependsOn": [ |
| 49754 | + "applicationInsights", |
49737 | 49755 | "avmContainerAppEnv", |
49738 | 49756 | "avmContainerRegistryReader" |
49739 | 49757 | ] |
|
51441 | 51459 | { |
51442 | 51460 | "name": "AZURE_LOGGING_PACKAGES", |
51443 | 51461 | "value": "" |
| 51462 | + }, |
| 51463 | + { |
| 51464 | + "name": "APPLICATIONINSIGHTS_CONNECTION_STRING", |
| 51465 | + "value": "[if(parameters('enableMonitoring'), reference('applicationInsights').outputs.connectionString.value, '')]" |
| 51466 | + }, |
| 51467 | + { |
| 51468 | + "name": "OTEL_SERVICE_NAME", |
| 51469 | + "value": "ContentProcessorWorkflow" |
51444 | 51470 | } |
51445 | 51471 | ] |
51446 | 51472 | } |
|
52978 | 53004 | } |
52979 | 53005 | }, |
52980 | 53006 | "dependsOn": [ |
| 53007 | + "applicationInsights", |
52981 | 53008 | "avmContainerAppEnv", |
52982 | 53009 | "avmContainerRegistryReader" |
52983 | 53010 | ] |
|
63656 | 63683 | { |
63657 | 63684 | "name": "AZURE_LOGGING_PACKAGES", |
63658 | 63685 | "value": "" |
| 63686 | + }, |
| 63687 | + { |
| 63688 | + "name": "APPLICATIONINSIGHTS_CONNECTION_STRING", |
| 63689 | + "value": "[if(parameters('enableMonitoring'), reference('applicationInsights').outputs.connectionString.value, '')]" |
| 63690 | + }, |
| 63691 | + { |
| 63692 | + "name": "OTEL_SERVICE_NAME", |
| 63693 | + "value": "ContentProcessor" |
63659 | 63694 | } |
63660 | 63695 | ] |
63661 | 63696 | } |
|
65194 | 65229 | } |
65195 | 65230 | }, |
65196 | 65231 | "dependsOn": [ |
| 65232 | + "applicationInsights", |
65197 | 65233 | "avmAppConfig", |
65198 | 65234 | "avmContainerAppEnv", |
65199 | 65235 | "avmContainerRegistryReader", |
|
65269 | 65305 | { |
65270 | 65306 | "name": "AZURE_LOGGING_PACKAGES", |
65271 | 65307 | "value": "" |
| 65308 | + }, |
| 65309 | + { |
| 65310 | + "name": "APPLICATIONINSIGHTS_CONNECTION_STRING", |
| 65311 | + "value": "[if(parameters('enableMonitoring'), reference('applicationInsights').outputs.connectionString.value, '')]" |
| 65312 | + }, |
| 65313 | + { |
| 65314 | + "name": "OTEL_SERVICE_NAME", |
| 65315 | + "value": "ContentProcessorAPI" |
65272 | 65316 | } |
65273 | 65317 | ], |
65274 | 65318 | "probes": [ |
|
66870 | 66914 | } |
66871 | 66915 | }, |
66872 | 66916 | "dependsOn": [ |
| 66917 | + "applicationInsights", |
66873 | 66918 | "avmAppConfig", |
66874 | 66919 | "avmContainerAppEnv", |
66875 | 66920 | "avmContainerRegistryReader", |
|
66944 | 66989 | { |
66945 | 66990 | "name": "AZURE_LOGGING_PACKAGES", |
66946 | 66991 | "value": "" |
| 66992 | + }, |
| 66993 | + { |
| 66994 | + "name": "APPLICATIONINSIGHTS_CONNECTION_STRING", |
| 66995 | + "value": "[if(parameters('enableMonitoring'), reference('applicationInsights').outputs.connectionString.value, '')]" |
| 66996 | + }, |
| 66997 | + { |
| 66998 | + "name": "OTEL_SERVICE_NAME", |
| 66999 | + "value": "ContentProcessorWorkflow" |
66947 | 67000 | } |
66948 | 67001 | ] |
66949 | 67002 | } |
|
68481 | 68534 | } |
68482 | 68535 | }, |
68483 | 68536 | "dependsOn": [ |
| 68537 | + "applicationInsights", |
68484 | 68538 | "avmAppConfig", |
68485 | 68539 | "avmContainerAppEnv", |
68486 | 68540 | "avmContainerRegistryReader" |
|
68558 | 68612 | }, |
68559 | 68613 | "value": "[reference('avmContainerRegistry').outputs.loginServer.value]" |
68560 | 68614 | }, |
| 68615 | + "CONTENT_UNDERSTANDING_ACCOUNT_NAME": { |
| 68616 | + "type": "string", |
| 68617 | + "metadata": { |
| 68618 | + "description": "The name of the Content Understanding AI Services account." |
| 68619 | + }, |
| 68620 | + "value": "[reference('avmAiServices_cu').outputs.name.value]" |
| 68621 | + }, |
68561 | 68622 | "AZURE_RESOURCE_GROUP": { |
68562 | 68623 | "type": "string", |
68563 | 68624 | "metadata": { |
|
0 commit comments