Skip to content

Commit 3cba546

Browse files
fixed merge conflicts
1 parent b599aa7 commit 3cba546

2 files changed

Lines changed: 21 additions & 12 deletions

File tree

infra/main.json

Lines changed: 18 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"_generator": {
77
"name": "bicep",
88
"version": "0.42.1.51946",
9-
"templateHash": "2050321244821343355"
9+
"templateHash": "7971547352074507493"
1010
}
1111
},
1212
"parameters": {
@@ -4416,7 +4416,7 @@
44164416
"_generator": {
44174417
"name": "bicep",
44184418
"version": "0.42.1.51946",
4419-
"templateHash": "11913031206393910066"
4419+
"templateHash": "4804697174510607162"
44204420
}
44214421
},
44224422
"definitions": {
@@ -22556,7 +22556,7 @@
2255622556
"_generator": {
2255722557
"name": "bicep",
2255822558
"version": "0.42.1.51946",
22559-
"templateHash": "440495301690535829"
22559+
"templateHash": "18203992824250297061"
2256022560
},
2256122561
"name": "Cognitive Services",
2256222562
"description": "This module deploys a Cognitive Service."
@@ -27427,6 +27427,13 @@
2742727427
},
2742827428
"value": "[if(variables('useExistingService'), reference('cognitiveServiceExisting').endpoint, if(variables('useExistingService'), reference('cognitiveServiceExisting', '2025-09-01', 'full'), reference('cognitiveServiceNew', '2025-06-01', 'full')).properties.endpoint)]"
2742927429
},
27430+
"endpoints": {
27431+
"type": "object",
27432+
"metadata": {
27433+
"description": "All endpoints available for the cognitive services account, types depends on the cognitive service kind."
27434+
},
27435+
"value": "[if(variables('useExistingService'), reference('cognitiveServiceExisting').endpoints, if(variables('useExistingService'), reference('cognitiveServiceExisting', '2025-09-01', 'full'), reference('cognitiveServiceNew', '2025-06-01', 'full')).properties.endpoints)]"
27436+
},
2743027437
"aiProjectInfo": {
2743127438
"$ref": "#/definitions/aiProjectOutputType",
2743227439
"value": "[if(variables('useExistingService'), reference('existing_cognitive_service_dependencies').outputs.aiProjectInfo.value, reference('cognitive_service_dependencies').outputs.aiProjectInfo.value)]"
@@ -28210,9 +28217,9 @@
2821028217
},
2821128218
"dependsOn": [
2821228219
"aiFoundryAiServices",
28213-
"[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').cognitiveServices)]",
2821428220
"[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').openAI)]",
2821528221
"[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').aiServices)]",
28222+
"[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').cognitiveServices)]",
2821628223
"virtualNetwork"
2821728224
]
2821828225
},
@@ -30487,7 +30494,7 @@
3048730494
"_generator": {
3048830495
"name": "bicep",
3048930496
"version": "0.42.1.51946",
30490-
"templateHash": "16034492197511599742"
30497+
"templateHash": "3171423857861763521"
3049130498
}
3049230499
},
3049330500
"parameters": {
@@ -38515,11 +38522,10 @@
3851538522
}
3851638523
},
3851738524
"dependsOn": [
38518-
"[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').storageDfs)]",
38519-
"[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').storageBlob)]",
3852038525
"[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').storageQueue)]",
38521-
"[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').storageFile)]",
3852238526
"[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').storageBlob)]",
38527+
"[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').storageDfs)]",
38528+
"[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').storageFile)]",
3852338529
"userAssignedIdentity",
3852438530
"virtualNetwork"
3852538531
]
@@ -52338,7 +52344,7 @@
5233852344
"_generator": {
5233952345
"name": "bicep",
5234052346
"version": "0.42.1.51946",
52341-
"templateHash": "2986806403289762320"
52347+
"templateHash": "71820933064712862"
5234252348
}
5234352349
},
5234452350
"definitions": {
@@ -53351,7 +53357,7 @@
5335153357
"_generator": {
5335253358
"name": "bicep",
5335353359
"version": "0.42.1.51946",
53354-
"templateHash": "7209561163082212668"
53360+
"templateHash": "11321300104480927368"
5335553361
},
5335653362
"name": "Site App Settings",
5335753363
"description": "This module deploys a Site App Setting."
@@ -54206,7 +54212,7 @@
5420654212
"_generator": {
5420754213
"name": "bicep",
5420854214
"version": "0.42.1.51946",
54209-
"templateHash": "2986806403289762320"
54215+
"templateHash": "71820933064712862"
5421054216
}
5421154217
},
5421254218
"definitions": {
@@ -55219,7 +55225,7 @@
5521955225
"_generator": {
5522055226
"name": "bicep",
5522155227
"version": "0.42.1.51946",
55222-
"templateHash": "7209561163082212668"
55228+
"templateHash": "11321300104480927368"
5522355229
},
5522455230
"name": "Site App Settings",
5522555231
"description": "This module deploys a Site App Setting."

infra/modules/ai-services.bicep

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -286,6 +286,9 @@ output resourceId string = useExistingService ? cognitiveServiceExisting.id : co
286286
@description('The service endpoint of the cognitive services account.')
287287
output endpoint string = useExistingService ? cognitiveServiceExisting!.properties.endpoint : cognitiveService.properties.endpoint
288288

289+
@description('All endpoints available for the cognitive services account, types depends on the cognitive service kind.')
290+
output endpoints object = useExistingService ? cognitiveServiceExisting!.properties.endpoints : cognitiveService.properties.endpoints
291+
289292
import { aiProjectOutputType } from './project.bicep'
290293
output aiProjectInfo aiProjectOutputType = useExistingService ? existing_cognitive_service_dependencies!.outputs.aiProjectInfo : cognitive_service_dependencies!.outputs.aiProjectInfo
291294

0 commit comments

Comments
 (0)