Skip to content

Commit d13d28d

Browse files
feat: Updated the main.json based on latest changes
1 parent f6fe182 commit d13d28d

File tree

1 file changed

+21
-23
lines changed

1 file changed

+21
-23
lines changed

infra/main.json

Lines changed: 21 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"_generator": {
66
"name": "bicep",
77
"version": "0.34.44.8038",
8-
"templateHash": "2631796362162534903"
8+
"templateHash": "5679791373520019547"
99
}
1010
},
1111
"parameters": {
@@ -918,7 +918,7 @@
918918
"_generator": {
919919
"name": "bicep",
920920
"version": "0.34.44.8038",
921-
"templateHash": "6622167858340258597"
921+
"templateHash": "183682259714166560"
922922
}
923923
},
924924
"parameters": {
@@ -1231,26 +1231,6 @@
12311231
"aiServicesDeployments"
12321232
]
12331233
},
1234-
{
1235-
"type": "Microsoft.MachineLearningServices/workspaces/connections",
1236-
"apiVersion": "2024-07-01-preview",
1237-
"name": "[format('{0}/{1}', variables('aiHubName'), format('{0}-cu-connection-AzureOpenAI', variables('aiHubName')))]",
1238-
"properties": {
1239-
"category": "AIServices",
1240-
"target": "[reference(resourceId('Microsoft.CognitiveServices/accounts', variables('aiServicesName_cu')), '2021-10-01').endpoint]",
1241-
"authType": "AAD",
1242-
"isSharedToAll": true,
1243-
"metadata": {
1244-
"ApiType": "Azure",
1245-
"ResourceId": "[resourceId('Microsoft.CognitiveServices/accounts', variables('aiServicesName_cu'))]"
1246-
}
1247-
},
1248-
"dependsOn": [
1249-
"[resourceId('Microsoft.MachineLearningServices/workspaces', variables('aiHubName'))]",
1250-
"[resourceId('Microsoft.CognitiveServices/accounts', variables('aiServicesName_cu'))]",
1251-
"aiServicesDeployments"
1252-
]
1253-
},
12541234
{
12551235
"type": "Microsoft.CognitiveServices/accounts",
12561236
"apiVersion": "2021-10-01",
@@ -4097,5 +4077,23 @@
40974077
"[resourceId('Microsoft.Resources/deployments', 'deploy_role_assignments')]"
40984078
]
40994079
}
4100-
]
4080+
],
4081+
"outputs": {
4082+
"CONTAINER_WEB_APP_NAME": {
4083+
"type": "string",
4084+
"value": "[reference(resourceId('Microsoft.Resources/deployments', 'deploy_container_app_api_web'), '2022-09-01').outputs.containerAppWebName.value]"
4085+
},
4086+
"CONTAINER_API_APP_NAME": {
4087+
"type": "string",
4088+
"value": "[reference(resourceId('Microsoft.Resources/deployments', 'deploy_container_app_api_web'), '2022-09-01').outputs.containerAppApiName.value]"
4089+
},
4090+
"CONTAINER_WEB_APP_FQDN": {
4091+
"type": "string",
4092+
"value": "[reference(resourceId('Microsoft.Resources/deployments', 'deploy_container_app_api_web'), '2022-09-01').outputs.containweAppWebEndPoint.value]"
4093+
},
4094+
"CONTAINER_API_APP_FQDN": {
4095+
"type": "string",
4096+
"value": "[reference(resourceId('Microsoft.Resources/deployments', 'deploy_container_app_api_web'), '2022-09-01').outputs.containweAppApiEndPoint.value]"
4097+
}
4098+
}
41014099
}

0 commit comments

Comments
 (0)