|
5 | 5 | "metadata": { |
6 | 6 | "_generator": { |
7 | 7 | "name": "bicep", |
8 | | - "version": "0.36.177.2456", |
9 | | - "templateHash": "16347082498493141517" |
| 8 | + "version": "0.40.2.10011", |
| 9 | + "templateHash": "8417814553440700358" |
10 | 10 | } |
11 | 11 | }, |
12 | 12 | "parameters": { |
|
302 | 302 | "tags": "[shallowMerge(createArray(resourceGroup().tags, parameters('tags'), createObject('TemplateName', 'DKM', 'Type', if(parameters('enablePrivateNetworking'), 'WAF', 'Non-WAF'), 'CreatedBy', parameters('createdBy'), 'DeploymentName', deployment().name)))]" |
303 | 303 | } |
304 | 304 | }, |
| 305 | + "avmSearchSearchServices": { |
| 306 | + "type": "Microsoft.Search/searchServices", |
| 307 | + "apiVersion": "2024-06-01-preview", |
| 308 | + "name": "[variables('aiSearchName')]", |
| 309 | + "location": "[variables('solutionLocation')]", |
| 310 | + "sku": { |
| 311 | + "name": "[if(parameters('enableScalability'), 'standard', 'basic')]" |
| 312 | + } |
| 313 | + }, |
305 | 314 | "avmPrivateDnsZones": { |
306 | 315 | "copy": { |
307 | 316 | "name": "avmPrivateDnsZones", |
|
311 | 320 | }, |
312 | 321 | "condition": "[parameters('enablePrivateNetworking')]", |
313 | 322 | "type": "Microsoft.Resources/deployments", |
314 | | - "apiVersion": "2022-09-01", |
| 323 | + "apiVersion": "2025-04-01", |
315 | 324 | "name": "[format('dns-zone-{0}', copyIndex())]", |
316 | 325 | "properties": { |
317 | 326 | "expressionEvaluationOptions": { |
|
3478 | 3487 | "logAnalyticsWorkspace": { |
3479 | 3488 | "condition": "[and(parameters('enableMonitoring'), not(variables('useExistingLogAnalytics')))]", |
3480 | 3489 | "type": "Microsoft.Resources/deployments", |
3481 | | - "apiVersion": "2022-09-01", |
| 3490 | + "apiVersion": "2025-04-01", |
3482 | 3491 | "name": "[take(format('avm.res.operational-insights.workspace.{0}', variables('logAnalyticsWorkspaceResourceName')), 64)]", |
3483 | 3492 | "properties": { |
3484 | 3493 | "expressionEvaluationOptions": { |
|
6584 | 6593 | "virtualNetwork": { |
6585 | 6594 | "condition": "[parameters('enablePrivateNetworking')]", |
6586 | 6595 | "type": "Microsoft.Resources/deployments", |
6587 | | - "apiVersion": "2022-09-01", |
| 6596 | + "apiVersion": "2025-04-01", |
6588 | 6597 | "name": "[take(format('module.virtualNetwork.{0}', variables('solutionSuffix')), 64)]", |
6589 | 6598 | "properties": { |
6590 | 6599 | "expressionEvaluationOptions": { |
|
6621 | 6630 | "metadata": { |
6622 | 6631 | "_generator": { |
6623 | 6632 | "name": "bicep", |
6624 | | - "version": "0.36.177.2456", |
6625 | | - "templateHash": "7116469417351280182" |
| 6633 | + "version": "0.40.2.10011", |
| 6634 | + "templateHash": "5819780095460630914" |
6626 | 6635 | } |
6627 | 6636 | }, |
6628 | 6637 | "definitions": { |
|
7041 | 7050 | }, |
7042 | 7051 | "condition": "[not(empty(tryGet(parameters('subnets')[copyIndex()], 'networkSecurityGroup')))]", |
7043 | 7052 | "type": "Microsoft.Resources/deployments", |
7044 | | - "apiVersion": "2022-09-01", |
| 7053 | + "apiVersion": "2025-04-01", |
7045 | 7054 | "name": "[take(format('avm.res.network.network-security-group.{0}.{1}', tryGet(parameters('subnets')[copyIndex()], 'networkSecurityGroup', 'name'), parameters('resourceSuffix')), 64)]", |
7046 | 7055 | "properties": { |
7047 | 7056 | "expressionEvaluationOptions": { |
|
7693 | 7702 | }, |
7694 | 7703 | "virtualNetwork": { |
7695 | 7704 | "type": "Microsoft.Resources/deployments", |
7696 | | - "apiVersion": "2022-09-01", |
| 7705 | + "apiVersion": "2025-04-01", |
7697 | 7706 | "name": "[take(format('avm.res.network.virtual-network.{0}', parameters('name')), 64)]", |
7698 | 7707 | "properties": { |
7699 | 7708 | "expressionEvaluationOptions": { |
|
9424 | 9433 | "bastionHost": { |
9425 | 9434 | "condition": "[parameters('enablePrivateNetworking')]", |
9426 | 9435 | "type": "Microsoft.Resources/deployments", |
9427 | | - "apiVersion": "2022-09-01", |
| 9436 | + "apiVersion": "2025-04-01", |
9428 | 9437 | "name": "[take(format('avm.res.network.bastion-host.{0}', variables('bastionHostName')), 64)]", |
9429 | 9438 | "properties": { |
9430 | 9439 | "expressionEvaluationOptions": { |
|
10743 | 10752 | "jumpboxVM": { |
10744 | 10753 | "condition": "[parameters('enablePrivateNetworking')]", |
10745 | 10754 | "type": "Microsoft.Resources/deployments", |
10746 | | - "apiVersion": "2022-09-01", |
| 10755 | + "apiVersion": "2025-04-01", |
10747 | 10756 | "name": "[take(format('avm.res.compute.virtual-machine.{0}', variables('jumpboxVmName')), 64)]", |
10748 | 10757 | "properties": { |
10749 | 10758 | "expressionEvaluationOptions": { |
|
19086 | 19095 | }, |
19087 | 19096 | "userAssignedIdentity": { |
19088 | 19097 | "type": "Microsoft.Resources/deployments", |
19089 | | - "apiVersion": "2022-09-01", |
| 19098 | + "apiVersion": "2025-04-01", |
19090 | 19099 | "name": "[take(format('avm.res.managed-identity.user-assigned-identity.{0}', variables('userAssignedIdentityResourceName')), 64)]", |
19091 | 19100 | "properties": { |
19092 | 19101 | "expressionEvaluationOptions": { |
|
19568 | 19577 | }, |
19569 | 19578 | "avmContainerRegistry": { |
19570 | 19579 | "type": "Microsoft.Resources/deployments", |
19571 | | - "apiVersion": "2022-09-01", |
| 19580 | + "apiVersion": "2025-04-01", |
19572 | 19581 | "name": "[format('avmContainerRegistry-{0}', uniqueString('avmContainerRegistry', deployment().name))]", |
19573 | 19582 | "properties": { |
19574 | 19583 | "expressionEvaluationOptions": { |
|
19611 | 19620 | "metadata": { |
19612 | 19621 | "_generator": { |
19613 | 19622 | "name": "bicep", |
19614 | | - "version": "0.36.177.2456", |
19615 | | - "templateHash": "11092248228709008584" |
| 19623 | + "version": "0.40.2.10011", |
| 19624 | + "templateHash": "11752366541769527004" |
19616 | 19625 | }, |
19617 | 19626 | "name": "Container Registry Module" |
19618 | 19627 | }, |
|
19748 | 19757 | "resources": { |
19749 | 19758 | "avmContainerRegistry": { |
19750 | 19759 | "type": "Microsoft.Resources/deployments", |
19751 | | - "apiVersion": "2022-09-01", |
| 19760 | + "apiVersion": "2025-04-01", |
19752 | 19761 | "name": "[parameters('acrName')]", |
19753 | 19762 | "properties": { |
19754 | 19763 | "expressionEvaluationOptions": { |
|
22817 | 22826 | }, |
22818 | 22827 | "avmCosmosDB": { |
22819 | 22828 | "type": "Microsoft.Resources/deployments", |
22820 | | - "apiVersion": "2022-09-01", |
| 22829 | + "apiVersion": "2025-04-01", |
22821 | 22830 | "name": "[take(format('avm.res.cosmos-{0}', variables('solutionSuffix')), 64)]", |
22822 | 22831 | "properties": { |
22823 | 22832 | "expressionEvaluationOptions": { |
|
26651 | 26660 | }, |
26652 | 26661 | "avmAppConfig": { |
26653 | 26662 | "type": "Microsoft.Resources/deployments", |
26654 | | - "apiVersion": "2022-09-01", |
| 26663 | + "apiVersion": "2025-04-01", |
26655 | 26664 | "name": "[take(format('avm.res.app-configuration.configuration-store.{0}', variables('appConfigName')), 64)]", |
26656 | 26665 | "properties": { |
26657 | 26666 | "expressionEvaluationOptions": { |
@@ -26723,11 +26732,11 @@ |
26723 | 26732 | }, |
26724 | 26733 | { |
26725 | 26734 | "name": "Application:Services:PersistentStorage:CosmosMongo:ConnectionString", |
26726 | | - "value": "[listOutputsWithSecureValues('avmCosmosDB', '2022-09-01').primaryReadWriteConnectionString]" |
| 26735 | + "value": "[listOutputsWithSecureValues('avmCosmosDB', '2025-04-01').primaryReadWriteConnectionString]" |
26727 | 26736 | }, |
26728 | 26737 | { |
26729 | 26738 | "name": "Application:Services:AzureAISearch:Endpoint", |
26730 | | - "value": "[format('https://{0}.search.windows.net', reference('avmSearchSearchServices').outputs.name.value)]" |
| 26739 | + "value": "[format('https://{0}.search.windows.net', variables('aiSearchName'))]" |
26731 | 26740 | }, |
26732 | 26741 | { |
26733 | 26742 | "name": "KernelMemory:Services:AzureAIDocIntel:Auth", |
|
26743 | 26752 | }, |
26744 | 26753 | { |
26745 | 26754 | "name": "KernelMemory:Services:AzureAISearch:Endpoint", |
26746 | | - "value": "[format('https://{0}.search.windows.net', reference('avmSearchSearchServices').outputs.name.value)]" |
| 26755 | + "value": "[format('https://{0}.search.windows.net', variables('aiSearchName'))]" |
26747 | 26756 | }, |
26748 | 26757 | { |
26749 | 26758 | "name": "KernelMemory:Services:AzureBlobs:Account", |
|
28780 | 28789 | "avmAppConfigUpdated": { |
28781 | 28790 | "condition": "[parameters('enablePrivateNetworking')]", |
28782 | 28791 | "type": "Microsoft.Resources/deployments", |
28783 | | - "apiVersion": "2022-09-01", |
| 28792 | + "apiVersion": "2025-04-01", |
28784 | 28793 | "name": "[take(format('avm.res.app-configuration.configuration-store-update.{0}', variables('appConfigName')), 64)]", |
28785 | 28794 | "properties": { |
28786 | 28795 | "expressionEvaluationOptions": { |
|
30795 | 30804 | }, |
30796 | 30805 | "avmStorageAccount": { |
30797 | 30806 | "type": "Microsoft.Resources/deployments", |
30798 | | - "apiVersion": "2022-09-01", |
| 30807 | + "apiVersion": "2025-04-01", |
30799 | 30808 | "name": "[take(format('avm.res.storage.storage-account.{0}', variables('storageAccountName')), 64)]", |
30800 | 30809 | "properties": { |
30801 | 30810 | "expressionEvaluationOptions": { |
@@ -36558,10 +36567,10 @@ |
36558 | 36567 | "virtualNetwork" |
36559 | 36568 | ] |
36560 | 36569 | }, |
36561 | | - "avmSearchSearchServices": { |
| 36570 | + "avmSearchSearchServicesUpdate": { |
36562 | 36571 | "type": "Microsoft.Resources/deployments", |
36563 | | - "apiVersion": "2022-09-01", |
36564 | | - "name": "[take(format('avm.res.cognitive-search-services.{0}', variables('aiSearchName')), 64)]", |
| 36572 | + "apiVersion": "2025-04-01", |
| 36573 | + "name": "[take(format('avm.res.search-services-identity.{0}', variables('aiSearchName')), 64)]", |
36565 | 36574 | "properties": { |
36566 | 36575 | "expressionEvaluationOptions": { |
36567 | 36576 | "scope": "inner" |
@@ -38905,14 +38914,15 @@ |
38905 | 38914 | }, |
38906 | 38915 | "dependsOn": [ |
38907 | 38916 | "[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').search)]", |
| 38917 | + "avmSearchSearchServices", |
38908 | 38918 | "logAnalyticsWorkspace", |
38909 | 38919 | "userAssignedIdentity", |
38910 | 38920 | "virtualNetwork" |
38911 | 38921 | ] |
38912 | 38922 | }, |
38913 | 38923 | "avmOpenAi": { |
38914 | 38924 | "type": "Microsoft.Resources/deployments", |
38915 | | - "apiVersion": "2022-09-01", |
| 38925 | + "apiVersion": "2025-04-01", |
38916 | 38926 | "name": "[take(format('avm.res.cognitiveservices.account.{0}', variables('openAiAccountName')), 64)]", |
38917 | 38927 | "properties": { |
38918 | 38928 | "expressionEvaluationOptions": { |
|
41511 | 41521 | }, |
41512 | 41522 | "documentIntelligence": { |
41513 | 41523 | "type": "Microsoft.Resources/deployments", |
41514 | | - "apiVersion": "2022-09-01", |
| 41524 | + "apiVersion": "2025-04-01", |
41515 | 41525 | "name": "[take(format('avm.res.cognitiveservices.account.{0}', variables('docIntelAccountName')), 64)]", |
41516 | 41526 | "properties": { |
41517 | 41527 | "expressionEvaluationOptions": { |
|
44099 | 44109 | }, |
44100 | 44110 | "managedCluster": { |
44101 | 44111 | "type": "Microsoft.Resources/deployments", |
44102 | | - "apiVersion": "2022-09-01", |
| 44112 | + "apiVersion": "2025-04-01", |
44103 | 44113 | "name": "[take(format('avm.res.container-service.managed-cluster.aks-{0}', variables('solutionSuffix')), 64)]", |
44104 | 44114 | "properties": { |
44105 | 44115 | "expressionEvaluationOptions": { |
|
47436 | 47446 | "applicationInsights": { |
47437 | 47447 | "condition": "[parameters('enableMonitoring')]", |
47438 | 47448 | "type": "Microsoft.Resources/deployments", |
47439 | | - "apiVersion": "2022-09-01", |
| 47449 | + "apiVersion": "2025-04-01", |
47440 | 47450 | "name": "[take(format('avm.res.insights.component.{0}', variables('applicationInsightsResourceName')), 64)]", |
47441 | 47451 | "properties": { |
47442 | 47452 | "expressionEvaluationOptions": { |
|
48248 | 48258 | "metadata": { |
48249 | 48259 | "description": "Contains Azure Search Service Name." |
48250 | 48260 | }, |
48251 | | - "value": "[reference('avmSearchSearchServices').outputs.name.value]" |
| 48261 | + "value": "[variables('aiSearchName')]" |
48252 | 48262 | }, |
48253 | 48263 | "AZURE_AKS_NAME": { |
48254 | 48264 | "type": "string", |
|
48290 | 48300 | "metadata": { |
48291 | 48301 | "description": "Contains Azure Search Service Endpoint." |
48292 | 48302 | }, |
48293 | | - "value": "[reference('avmSearchSearchServices').outputs.name.value]" |
| 48303 | + "value": "[variables('aiSearchName')]" |
48294 | 48304 | }, |
48295 | 48305 | "AZ_GPT4O_MODEL_ID": { |
48296 | 48306 | "type": "string", |
|
0 commit comments