|
5 | 5 | "_generator": { |
6 | 6 | "name": "bicep", |
7 | 7 | "version": "0.36.177.2456", |
8 | | - "templateHash": "5067006710993312117" |
| 8 | + "templateHash": "1702044992104018188" |
9 | 9 | } |
10 | 10 | }, |
11 | 11 | "parameters": { |
|
36 | 36 | "type": "string", |
37 | 37 | "allowedValues": [ |
38 | 38 | "australiaeast", |
39 | | - "canadaeast", |
40 | | - "centraluseuap", |
41 | 39 | "eastus", |
42 | 40 | "eastus2", |
43 | 41 | "francecentral", |
44 | 42 | "japaneast", |
45 | 43 | "koreacentral", |
46 | | - "norwayeast", |
47 | | - "polandcentral", |
48 | | - "southeastasia", |
49 | | - "southindia", |
50 | 44 | "swedencentral", |
51 | 45 | "switzerlandnorth", |
52 | 46 | "uaenorth", |
|
59 | 53 | "type": "location", |
60 | 54 | "usageName": [ |
61 | 55 | "OpenAI.GlobalStandard.gpt4.1,150", |
62 | | - "OpenAI.Standard.text-embedding-ada-002,80" |
| 56 | + "OpenAI.GlobalStandard.text-embedding-ada-002,80" |
63 | 57 | ] |
64 | 58 | }, |
65 | 59 | "description": "Location for AI deployments. This should be a valid Azure region where OpenAI services are available." |
|
665 | 659 | "_generator": { |
666 | 660 | "name": "bicep", |
667 | 661 | "version": "0.36.177.2456", |
668 | | - "templateHash": "5405168643980957312" |
| 662 | + "templateHash": "4676644507101240486" |
669 | 663 | } |
670 | 664 | }, |
671 | 665 | "parameters": { |
|
976 | 970 | "name": "[parameters('embeddingModel')]", |
977 | 971 | "model": "[parameters('embeddingModel')]", |
978 | 972 | "sku": { |
979 | | - "name": "Standard", |
| 973 | + "name": "GlobalStandard", |
980 | 974 | "capacity": "[parameters('embeddingDeploymentCapacity')]" |
981 | 975 | }, |
982 | 976 | "version": "2", |
|
1565 | 1559 | "type": "string", |
1566 | 1560 | "value": "[if(not(empty(variables('existingAIFoundryName'))), variables('existingAIFoundryName'), variables('aiFoundryName'))]" |
1567 | 1561 | }, |
1568 | | - "aiFoundryRgName": { |
| 1562 | + "aiFoundryId": { |
1569 | 1563 | "type": "string", |
1570 | | - "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')))]" |
1571 | 1565 | }, |
1572 | 1566 | "applicationInsightsId": { |
1573 | 1567 | "type": "string", |
|
1868 | 1862 | "_generator": { |
1869 | 1863 | "name": "bicep", |
1870 | 1864 | "version": "0.36.177.2456", |
1871 | | - "templateHash": "7711665754275271950" |
| 1865 | + "templateHash": "5423105461678227247" |
1872 | 1866 | } |
1873 | 1867 | }, |
1874 | 1868 | "parameters": { |
|
2361 | 2355 | "name": "[guid(parameters('WebsiteName'), parameters('aiSearchName'), resourceId('Microsoft.Authorization/roleDefinitions', '1407120a-92aa-4202-b7e9-c0e197c71c8f'))]", |
2362 | 2356 | "properties": { |
2363 | 2357 | "roleDefinitionId": "[resourceId('Microsoft.Authorization/roleDefinitions', '1407120a-92aa-4202-b7e9-c0e197c71c8f')]", |
2364 | | - "principalId": "[reference(resourceId('Microsoft.Web/sites', parameters('WebsiteName')), '2020-06-01', 'full').identity.principalId]" |
| 2358 | + "principalId": "[reference(resourceId('Microsoft.Web/sites', parameters('WebsiteName')), '2020-06-01', 'full').identity.principalId]", |
| 2359 | + "principalType": "ServicePrincipal" |
2365 | 2360 | }, |
2366 | 2361 | "dependsOn": [ |
2367 | 2362 | "[resourceId('Microsoft.Web/sites', parameters('WebsiteName'))]" |
|
2726 | 2721 | "type": "string", |
2727 | 2722 | "value": "[resourceGroup().name]" |
2728 | 2723 | }, |
2729 | | - "AI_FOUNDRY_NAME": { |
2730 | | - "type": "string", |
2731 | | - "value": "[reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', subscription().subscriptionId, resourceGroup().name), 'Microsoft.Resources/deployments', 'deploy_ai_foundry'), '2022-09-01').outputs.aiFoundryName.value]" |
2732 | | - }, |
2733 | | - "AI_FOUNDRY_RG_NAME": { |
| 2724 | + "AI_FOUNDRY_RESOURCE_ID": { |
2734 | 2725 | "type": "string", |
2735 | | - "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]" |
2736 | 2727 | }, |
2737 | 2728 | "AI_SEARCH_SERVICE_NAME": { |
2738 | 2729 | "type": "string", |
|
0 commit comments