|
5 | 5 | "_generator": { |
6 | 6 | "name": "bicep", |
7 | 7 | "version": "0.36.177.2456", |
8 | | - "templateHash": "8521527893631804786" |
| 8 | + "templateHash": "1702044992104018188" |
9 | 9 | } |
10 | 10 | }, |
11 | 11 | "parameters": { |
|
659 | 659 | "_generator": { |
660 | 660 | "name": "bicep", |
661 | 661 | "version": "0.36.177.2456", |
662 | | - "templateHash": "5405168643980957312" |
| 662 | + "templateHash": "4676644507101240486" |
663 | 663 | } |
664 | 664 | }, |
665 | 665 | "parameters": { |
|
1559 | 1559 | "type": "string", |
1560 | 1560 | "value": "[if(not(empty(variables('existingAIFoundryName'))), variables('existingAIFoundryName'), variables('aiFoundryName'))]" |
1561 | 1561 | }, |
1562 | | - "aiFoundryRgName": { |
| 1562 | + "aiFoundryId": { |
1563 | 1563 | "type": "string", |
1564 | | - "value": "[if(not(empty(variables('existingAIServiceResourceGroup'))), variables('existingAIServiceResourceGroup'), resourceGroup().name)]" |
| 1564 | + "value": "[if(not(empty(parameters('azureExistingAIProjectResourceId'))), extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', variables('existingAIServiceSubscription'), variables('existingAIServiceResourceGroup')), 'Microsoft.CognitiveServices/accounts', variables('existingAIFoundryName')), resourceId('Microsoft.CognitiveServices/accounts', variables('aiFoundryName')))]" |
1565 | 1565 | }, |
1566 | 1566 | "applicationInsightsId": { |
1567 | 1567 | "type": "string", |
|
1862 | 1862 | "_generator": { |
1863 | 1863 | "name": "bicep", |
1864 | 1864 | "version": "0.36.177.2456", |
1865 | | - "templateHash": "7711665754275271950" |
| 1865 | + "templateHash": "5423105461678227247" |
1866 | 1866 | } |
1867 | 1867 | }, |
1868 | 1868 | "parameters": { |
|
2721 | 2721 | "type": "string", |
2722 | 2722 | "value": "[resourceGroup().name]" |
2723 | 2723 | }, |
2724 | | - "AI_FOUNDRY_NAME": { |
| 2724 | + "AI_FOUNDRY_RESOURCE_ID": { |
2725 | 2725 | "type": "string", |
2726 | | - "value": "[reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', subscription().subscriptionId, resourceGroup().name), 'Microsoft.Resources/deployments', 'deploy_ai_foundry'), '2022-09-01').outputs.aiFoundryName.value]" |
2727 | | - }, |
2728 | | - "AI_FOUNDRY_RG_NAME": { |
2729 | | - "type": "string", |
2730 | | - "value": "[reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', subscription().subscriptionId, resourceGroup().name), 'Microsoft.Resources/deployments', 'deploy_ai_foundry'), '2022-09-01').outputs.aiFoundryRgName.value]" |
| 2726 | + "value": "[reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', subscription().subscriptionId, resourceGroup().name), 'Microsoft.Resources/deployments', 'deploy_ai_foundry'), '2022-09-01').outputs.aiFoundryId.value]" |
2731 | 2727 | }, |
2732 | 2728 | "AI_SEARCH_SERVICE_NAME": { |
2733 | 2729 | "type": "string", |
|
0 commit comments