|
5 | 5 | "metadata": { |
6 | 6 | "_generator": { |
7 | 7 | "name": "bicep", |
8 | | - "version": "0.36.177.2456", |
9 | | - "templateHash": "17580921797975596025" |
| 8 | + "version": "0.37.4.10188", |
| 9 | + "templateHash": "3135336995747769121" |
10 | 10 | }, |
11 | 11 | "name": "Content Processing Solution Accelerator", |
12 | 12 | "description": "Bicep template to deploy the Content Processing Solution Accelerator with AVM compliance." |
|
167 | 167 | }, |
168 | 168 | "variables": { |
169 | 169 | "solutionPrefix": "[format('cps-{0}', padLeft(take(toLower(uniqueString(subscription().id, parameters('environmentName'), resourceGroup().location, resourceGroup().name)), 12), 12, '0'))]", |
| 170 | + "existingProjectResourceId": "[trim(parameters('existingFoundryProjectResourceId'))]", |
170 | 171 | "privateDnsZones": [ |
171 | 172 | "privatelink.cognitiveservices.azure.com", |
172 | 173 | "privatelink.openai.azure.com", |
|
7908 | 7909 | "metadata": { |
7909 | 7910 | "_generator": { |
7910 | 7911 | "name": "bicep", |
7911 | | - "version": "0.36.177.2456", |
7912 | | - "templateHash": "3906046175102371285" |
| 7912 | + "version": "0.37.4.10188", |
| 7913 | + "templateHash": "6972956072693401058" |
7913 | 7914 | } |
7914 | 7915 | }, |
7915 | 7916 | "parameters": { |
|
11793 | 11794 | "metadata": { |
11794 | 11795 | "_generator": { |
11795 | 11796 | "name": "bicep", |
11796 | | - "version": "0.36.177.2456", |
11797 | | - "templateHash": "14410385321137128263" |
| 11797 | + "version": "0.37.4.10188", |
| 11798 | + "templateHash": "7249387422952826813" |
11798 | 11799 | } |
11799 | 11800 | }, |
11800 | 11801 | "parameters": { |
|
12384 | 12385 | "metadata": { |
12385 | 12386 | "_generator": { |
12386 | 12387 | "name": "bicep", |
12387 | | - "version": "0.36.177.2456", |
12388 | | - "templateHash": "12745773382509549839" |
| 12388 | + "version": "0.37.4.10188", |
| 12389 | + "templateHash": "16532605725531152234" |
12389 | 12390 | }, |
12390 | 12391 | "name": "Key Vault Module" |
12391 | 12392 | }, |
|
15923 | 15924 | "metadata": { |
15924 | 15925 | "_generator": { |
15925 | 15926 | "name": "bicep", |
15926 | | - "version": "0.36.177.2456", |
15927 | | - "templateHash": "11092248228709008584" |
| 15927 | + "version": "0.37.4.10188", |
| 15928 | + "templateHash": "1461768805384515582" |
15928 | 15929 | }, |
15929 | 15930 | "name": "Container Registry Module" |
15930 | 15931 | }, |
|
24898 | 24899 | "avmContainerApp", |
24899 | 24900 | "avmContainerApp_API", |
24900 | 24901 | "avmManagedIdentity", |
24901 | | - "[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').storageQueue)]", |
24902 | 24902 | "[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').storageBlob)]", |
| 24903 | + "[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').storageQueue)]", |
24903 | 24904 | "avmVirtualNetwork" |
24904 | 24905 | ] |
24905 | 24906 | }, |
|
24923 | 24924 | "value": "[format('aifp-{0}', variables('solutionPrefix'))]" |
24924 | 24925 | }, |
24925 | 24926 | "existingFoundryProjectResourceId": { |
24926 | | - "value": "[parameters('existingFoundryProjectResourceId')]" |
| 24927 | + "value": "[variables('existingProjectResourceId')]" |
24927 | 24928 | }, |
24928 | 24929 | "location": { |
24929 | 24930 | "value": "[parameters('aiDeploymentsLocation')]" |
|
25002 | 25003 | ] |
25003 | 25004 | }, |
25004 | 25005 | "publicNetworkAccess": "[if(parameters('enablePrivateNetworking'), createObject('value', 'Disabled'), createObject('value', 'Enabled'))]", |
25005 | | - "privateEndpoints": "[if(parameters('enablePrivateNetworking'), createObject('value', createArray(createObject('name', format('ai-services-private-endpoint-{0}', variables('solutionPrefix')), 'privateEndpointResourceId', reference('avmVirtualNetwork').outputs.resourceId.value, 'privateDnsZoneGroup', createObject('privateDnsZoneGroupConfigs', createArray(createObject('name', 'ai-services-dns-zone-cognitiveservices', 'privateDnsZoneResourceId', reference(format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').cognitiveServices)).outputs.resourceId.value), createObject('name', 'ai-services-dns-zone-openai', 'privateDnsZoneResourceId', reference(format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').openAI)).outputs.resourceId.value), createObject('name', 'ai-services-dns-zone-aiservices', 'privateDnsZoneResourceId', reference(format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').aiServices)).outputs.resourceId.value), createObject('name', 'ai-services-dns-zone-contentunderstanding', 'privateDnsZoneResourceId', reference(format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').contentUnderstanding)).outputs.resourceId.value))), 'subnetResourceId', reference('avmVirtualNetwork').outputs.subnetResourceIds.value[0]))), createObject('value', createArray()))]" |
| 25006 | + "privateEndpoints": "[if(and(parameters('enablePrivateNetworking'), empty(variables('existingProjectResourceId'))), createObject('value', createArray(createObject('name', format('ai-services-private-endpoint-{0}', variables('solutionPrefix')), 'privateEndpointResourceId', reference('avmVirtualNetwork').outputs.resourceId.value, 'privateDnsZoneGroup', createObject('privateDnsZoneGroupConfigs', createArray(createObject('name', 'ai-services-dns-zone-cognitiveservices', 'privateDnsZoneResourceId', reference(format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').cognitiveServices)).outputs.resourceId.value), createObject('name', 'ai-services-dns-zone-openai', 'privateDnsZoneResourceId', reference(format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').openAI)).outputs.resourceId.value), createObject('name', 'ai-services-dns-zone-aiservices', 'privateDnsZoneResourceId', reference(format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').aiServices)).outputs.resourceId.value), createObject('name', 'ai-services-dns-zone-contentunderstanding', 'privateDnsZoneResourceId', reference(format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').contentUnderstanding)).outputs.resourceId.value))), 'subnetResourceId', reference('avmVirtualNetwork').outputs.subnetResourceIds.value[0]))), createObject('value', createArray()))]" |
25006 | 25007 | }, |
25007 | 25008 | "template": { |
25008 | 25009 | "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#", |
|
25011 | 25012 | "metadata": { |
25012 | 25013 | "_generator": { |
25013 | 25014 | "name": "bicep", |
25014 | | - "version": "0.36.177.2456", |
25015 | | - "templateHash": "5761548449731819585" |
| 25015 | + "version": "0.37.4.10188", |
| 25016 | + "templateHash": "6573158563370865051" |
25016 | 25017 | }, |
25017 | 25018 | "name": "Cognitive Services", |
25018 | 25019 | "description": "This module deploys a Cognitive Service." |
|
26261 | 26262 | "metadata": { |
26262 | 26263 | "_generator": { |
26263 | 26264 | "name": "bicep", |
26264 | | - "version": "0.36.177.2456", |
26265 | | - "templateHash": "11270933172961789567" |
| 26265 | + "version": "0.37.4.10188", |
| 26266 | + "templateHash": "9510507771164523365" |
26266 | 26267 | } |
26267 | 26268 | }, |
26268 | 26269 | "definitions": { |
|
28070 | 28071 | "metadata": { |
28071 | 28072 | "_generator": { |
28072 | 28073 | "name": "bicep", |
28073 | | - "version": "0.36.177.2456", |
28074 | | - "templateHash": "9150529619101779014" |
| 28074 | + "version": "0.37.4.10188", |
| 28075 | + "templateHash": "2491273843075489892" |
28075 | 28076 | } |
28076 | 28077 | }, |
28077 | 28078 | "definitions": { |
|
28224 | 28225 | "metadata": { |
28225 | 28226 | "_generator": { |
28226 | 28227 | "name": "bicep", |
28227 | | - "version": "0.36.177.2456", |
28228 | | - "templateHash": "18131656256983910282" |
| 28228 | + "version": "0.37.4.10188", |
| 28229 | + "templateHash": "13991828250771551903" |
28229 | 28230 | } |
28230 | 28231 | }, |
28231 | 28232 | "definitions": { |
|
28442 | 28443 | "metadata": { |
28443 | 28444 | "_generator": { |
28444 | 28445 | "name": "bicep", |
28445 | | - "version": "0.36.177.2456", |
28446 | | - "templateHash": "11270933172961789567" |
| 28446 | + "version": "0.37.4.10188", |
| 28447 | + "templateHash": "9510507771164523365" |
28447 | 28448 | } |
28448 | 28449 | }, |
28449 | 28450 | "definitions": { |
|
30251 | 30252 | "metadata": { |
30252 | 30253 | "_generator": { |
30253 | 30254 | "name": "bicep", |
30254 | | - "version": "0.36.177.2456", |
30255 | | - "templateHash": "9150529619101779014" |
| 30255 | + "version": "0.37.4.10188", |
| 30256 | + "templateHash": "2491273843075489892" |
30256 | 30257 | } |
30257 | 30258 | }, |
30258 | 30259 | "definitions": { |
|
30405 | 30406 | "metadata": { |
30406 | 30407 | "_generator": { |
30407 | 30408 | "name": "bicep", |
30408 | | - "version": "0.36.177.2456", |
30409 | | - "templateHash": "18131656256983910282" |
| 30409 | + "version": "0.37.4.10188", |
| 30410 | + "templateHash": "13991828250771551903" |
30410 | 30411 | } |
30411 | 30412 | }, |
30412 | 30413 | "definitions": { |
|
30647 | 30648 | "avmContainerApp", |
30648 | 30649 | "avmManagedIdentity", |
30649 | 30650 | "[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').openAI)]", |
| 30651 | + "[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').aiServices)]", |
30650 | 30652 | "[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').cognitiveServices)]", |
30651 | 30653 | "[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').contentUnderstanding)]", |
30652 | | - "[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').aiServices)]", |
30653 | 30654 | "avmVirtualNetwork", |
30654 | 30655 | "logAnalyticsWorkspace" |
30655 | 30656 | ] |
|
32987 | 32988 | "dependsOn": [ |
32988 | 32989 | "avmContainerApp", |
32989 | 32990 | "avmManagedIdentity", |
32990 | | - "[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').contentUnderstanding)]", |
32991 | 32991 | "[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').cognitiveServices)]", |
| 32992 | + "[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').contentUnderstanding)]", |
32992 | 32993 | "avmVirtualNetwork" |
32993 | 32994 | ] |
32994 | 32995 | }, |
|
0 commit comments