Skip to content

Commit d7f71ba

Browse files
update main.json
1 parent e95352e commit d7f71ba

File tree

1 file changed

+3
-53
lines changed

1 file changed

+3
-53
lines changed

infra/main.json

Lines changed: 3 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"_generator": {
66
"name": "bicep",
77
"version": "0.33.13.18514",
8-
"templateHash": "5982985115581765540"
8+
"templateHash": "7734955925509508696"
99
}
1010
},
1111
"parameters": {
@@ -340,7 +340,6 @@
340340
}
341341
},
342342
"abbrs": "[variables('$fxv#0')]",
343-
"azureOpenAIApiVersion": "2025-01-01-preview",
344343
"solutionLocation": "[if(empty(parameters('AZURE_LOCATION')), resourceGroup().location, parameters('AZURE_LOCATION'))]",
345344
"uniqueId": "[toLower(uniqueString(subscription().id, parameters('environmentName'), variables('solutionLocation')))]",
346345
"solutionPrefix": "[format('km{0}', padLeft(take(variables('uniqueId'), 12), 12, '0'))]",
@@ -630,7 +629,7 @@
630629
"_generator": {
631630
"name": "bicep",
632631
"version": "0.33.13.18514",
633-
"templateHash": "7773907693287096825"
632+
"templateHash": "4742436532015052486"
634633
}
635634
},
636635
"parameters": {
@@ -945,55 +944,6 @@
945944
"storageNameCleaned": "[replace(variables('storageName'), '-', '')]"
946945
},
947946
"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-
},
997947
{
998948
"condition": "[not(variables('useExisting'))]",
999949
"type": "Microsoft.OperationalInsights/workspaces",
@@ -2576,7 +2526,7 @@
25762526
"_generator": {
25772527
"name": "bicep",
25782528
"version": "0.33.13.18514",
2579-
"templateHash": "17333201509677178209"
2529+
"templateHash": "1946234334588325007"
25802530
}
25812531
},
25822532
"parameters": {

0 commit comments

Comments
 (0)