|
5 | 5 | "_generator": { |
6 | 6 | "name": "bicep", |
7 | 7 | "version": "0.33.13.18514", |
8 | | - "templateHash": "5982985115581765540" |
| 8 | + "templateHash": "7734955925509508696" |
9 | 9 | } |
10 | 10 | }, |
11 | 11 | "parameters": { |
|
340 | 340 | } |
341 | 341 | }, |
342 | 342 | "abbrs": "[variables('$fxv#0')]", |
343 | | - "azureOpenAIApiVersion": "2025-01-01-preview", |
344 | 343 | "solutionLocation": "[if(empty(parameters('AZURE_LOCATION')), resourceGroup().location, parameters('AZURE_LOCATION'))]", |
345 | 344 | "uniqueId": "[toLower(uniqueString(subscription().id, parameters('environmentName'), variables('solutionLocation')))]", |
346 | 345 | "solutionPrefix": "[format('km{0}', padLeft(take(variables('uniqueId'), 12), 12, '0'))]", |
|
630 | 629 | "_generator": { |
631 | 630 | "name": "bicep", |
632 | 631 | "version": "0.33.13.18514", |
633 | | - "templateHash": "7773907693287096825" |
| 632 | + "templateHash": "4742436532015052486" |
634 | 633 | } |
635 | 634 | }, |
636 | 635 | "parameters": { |
|
945 | 944 | "storageNameCleaned": "[replace(variables('storageName'), '-', '')]" |
946 | 945 | }, |
947 | 946 | "resources": [ |
948 | | - { |
949 | | - "type": "Microsoft.MachineLearningServices/workspaces/connections", |
950 | | - "apiVersion": "2024-07-01-preview", |
951 | | - "name": "[format('{0}/{1}', variables('aiHubName'), format('{0}-connection-AzureOpenAI', variables('aiHubName')))]", |
952 | | - "properties": { |
953 | | - "category": "AIServices", |
954 | | - "target": "[reference(resourceId('Microsoft.CognitiveServices/accounts', variables('aiServicesName')), '2024-04-01-preview').endpoint]", |
955 | | - "authType": "ApiKey", |
956 | | - "isSharedToAll": true, |
957 | | - "credentials": { |
958 | | - "key": "[listKeys(resourceId('Microsoft.CognitiveServices/accounts', variables('aiServicesName')), '2024-04-01-preview').key1]" |
959 | | - }, |
960 | | - "metadata": { |
961 | | - "ApiType": "Azure", |
962 | | - "ResourceId": "[resourceId('Microsoft.CognitiveServices/accounts', variables('aiServicesName'))]" |
963 | | - } |
964 | | - }, |
965 | | - "dependsOn": [ |
966 | | - "[resourceId('Microsoft.MachineLearningServices/workspaces', variables('aiHubName'))]", |
967 | | - "[resourceId('Microsoft.Search/searchServices', variables('aiSearchName'))]", |
968 | | - "[resourceId('Microsoft.CognitiveServices/accounts', variables('aiServicesName'))]", |
969 | | - "aiServicesDeployments" |
970 | | - ] |
971 | | - }, |
972 | | - { |
973 | | - "type": "Microsoft.MachineLearningServices/workspaces/connections", |
974 | | - "apiVersion": "2024-07-01-preview", |
975 | | - "name": "[format('{0}/{1}', variables('aiHubName'), format('{0}-connection-AzureAISearch', variables('aiHubName')))]", |
976 | | - "properties": { |
977 | | - "category": "CognitiveSearch", |
978 | | - "target": "[format('https://{0}.search.windows.net', variables('aiSearchName'))]", |
979 | | - "authType": "ApiKey", |
980 | | - "isSharedToAll": true, |
981 | | - "credentials": { |
982 | | - "key": "[listAdminKeys(resourceId('Microsoft.Search/searchServices', variables('aiSearchName')), '2023-11-01').primaryKey]" |
983 | | - }, |
984 | | - "metadata": { |
985 | | - "type": "azure_ai_search", |
986 | | - "ApiType": "Azure", |
987 | | - "ResourceId": "[resourceId('Microsoft.Search/searchServices', variables('aiSearchName'))]", |
988 | | - "ApiVersion": "2024-05-01-preview", |
989 | | - "DeploymentApiVersion": "2023-11-01" |
990 | | - } |
991 | | - }, |
992 | | - "dependsOn": [ |
993 | | - "[resourceId('Microsoft.MachineLearningServices/workspaces', variables('aiHubName'))]", |
994 | | - "[resourceId('Microsoft.Search/searchServices', variables('aiSearchName'))]" |
995 | | - ] |
996 | | - }, |
997 | 947 | { |
998 | 948 | "condition": "[not(variables('useExisting'))]", |
999 | 949 | "type": "Microsoft.OperationalInsights/workspaces", |
|
2576 | 2526 | "_generator": { |
2577 | 2527 | "name": "bicep", |
2578 | 2528 | "version": "0.33.13.18514", |
2579 | | - "templateHash": "17333201509677178209" |
| 2529 | + "templateHash": "1946234334588325007" |
2580 | 2530 | } |
2581 | 2531 | }, |
2582 | 2532 | "parameters": { |
|
0 commit comments