Skip to content

Commit 0ff18d2

Browse files
Fix property in AI service (#245)
1 parent 712d708 commit 0ff18d2

File tree

10 files changed

+16
-46
lines changed

10 files changed

+16
-46
lines changed

scenarios/Agents/setup/basic-agent-identity/azuredeploy.json

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"_generator": {
66
"name": "bicep",
77
"version": "0.33.93.31351",
8-
"templateHash": "9343374115382580767"
8+
"templateHash": "3556712594165874979"
99
}
1010
},
1111
"parameters": {
@@ -204,7 +204,7 @@
204204
"_generator": {
205205
"name": "bicep",
206206
"version": "0.33.93.31351",
207-
"templateHash": "13463183484961318850"
207+
"templateHash": "10842040050834008228"
208208
}
209209
},
210210
"parameters": {
@@ -308,9 +308,6 @@
308308
},
309309
"properties": {
310310
"customSubDomainName": "[toLower(format('{0}', toLower(parameters('aiServicesName'))))]",
311-
"apiProperties": {
312-
"statisticsEnabled": false
313-
},
314311
"publicNetworkAccess": "Enabled"
315312
}
316313
},

scenarios/Agents/setup/basic-agent-identity/modules-basic/basic-dependent-resources.bicep

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,6 @@ resource aiServices 'Microsoft.CognitiveServices/accounts@2024-10-01' = if(!aiSe
5454
}
5555
properties: {
5656
customSubDomainName: toLower('${toLower(aiServicesName)}')
57-
apiProperties: {
58-
statisticsEnabled: false
59-
}
6057
publicNetworkAccess: 'Enabled'
6158
}
6259
}

scenarios/Agents/setup/basic-agent-keys/azuredeploy.json

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"_generator": {
66
"name": "bicep",
77
"version": "0.33.93.31351",
8-
"templateHash": "13003776003463905332"
8+
"templateHash": "7842259407019415965"
99
}
1010
},
1111
"parameters": {
@@ -182,7 +182,7 @@
182182
"_generator": {
183183
"name": "bicep",
184184
"version": "0.33.93.31351",
185-
"templateHash": "17168316501525543267"
185+
"templateHash": "6232269695984552379"
186186
}
187187
},
188188
"parameters": {
@@ -284,9 +284,6 @@
284284
},
285285
"properties": {
286286
"customSubDomainName": "[toLower(format('{0}', toLower(parameters('aiServicesName'))))]",
287-
"apiProperties": {
288-
"statisticsEnabled": false
289-
},
290287
"publicNetworkAccess": "Enabled"
291288
}
292289
},

scenarios/Agents/setup/basic-agent-keys/modules-basic/basic-dependent-resources.bicep

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,22 +8,22 @@ param tags object = {}
88
param aiServicesName string
99

1010
@description('Model name for deployment')
11-
param modelName string
11+
param modelName string
1212

1313
@description('Model format for deployment')
14-
param modelFormat string
14+
param modelFormat string
1515

1616
@description('Model version for deployment')
17-
param modelVersion string
17+
param modelVersion string
1818

1919
@description('Model deployment SKU name')
20-
param modelSkuName string
20+
param modelSkuName string
2121

2222
@description('Model deployment capacity')
23-
param modelCapacity int
23+
param modelCapacity int
2424

2525
@description('Model/AI Resource deployment location')
26-
param modelLocation string
26+
param modelLocation string
2727

2828
resource aiServices 'Microsoft.CognitiveServices/accounts@2024-06-01-preview' = {
2929
name: aiServicesName
@@ -37,9 +37,6 @@ resource aiServices 'Microsoft.CognitiveServices/accounts@2024-06-01-preview' =
3737
}
3838
properties: {
3939
customSubDomainName: toLower('${toLower(aiServicesName)}')
40-
apiProperties: {
41-
statisticsEnabled: false
42-
}
4340
publicNetworkAccess: 'Enabled'
4441
}
4542
}

scenarios/Agents/setup/network-secured-agent/azuredeploy.json

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"_generator": {
66
"name": "bicep",
77
"version": "0.33.93.31351",
8-
"templateHash": "14383664163093616815"
8+
"templateHash": "5522639735956269217"
99
}
1010
},
1111
"parameters": {
@@ -531,7 +531,7 @@
531531
"_generator": {
532532
"name": "bicep",
533533
"version": "0.33.93.31351",
534-
"templateHash": "12473094046332996300"
534+
"templateHash": "7665460913946785408"
535535
}
536536
},
537537
"parameters": {
@@ -729,9 +729,6 @@
729729
},
730730
"properties": {
731731
"customSubDomainName": "[toLower(format('{0}', parameters('aiServicesName')))]",
732-
"apiProperties": {
733-
"statisticsEnabled": false
734-
},
735732
"networkAcls": {
736733
"bypass": "AzureServices",
737734
"defaultAction": "Deny"

scenarios/Agents/setup/network-secured-agent/modules-network-secured/network-secured-dependent-resources.bicep

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -150,9 +150,6 @@ resource defaultAiServices 'Microsoft.CognitiveServices/accounts@2024-06-01-prev
150150
}
151151
properties: {
152152
customSubDomainName: toLower('${(aiServicesName)}')
153-
apiProperties: {
154-
statisticsEnabled: false
155-
}
156153
networkAcls: {
157154
bypass: 'AzureServices' // Allow trusted Azure services
158155
defaultAction: 'Deny' // Deny all other traffic

scenarios/Agents/setup/standard-agent-with-threadstorage/azuredeploy.json

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"_generator": {
66
"name": "bicep",
77
"version": "0.33.93.31351",
8-
"templateHash": "3032722584774553190"
8+
"templateHash": "17154956640074748586"
99
}
1010
},
1111
"parameters": {
@@ -414,7 +414,7 @@
414414
"_generator": {
415415
"name": "bicep",
416416
"version": "0.33.93.31351",
417-
"templateHash": "9356889094364269195"
417+
"templateHash": "5844917055965347815"
418418
}
419419
},
420420
"parameters": {
@@ -623,9 +623,6 @@
623623
},
624624
"properties": {
625625
"customSubDomainName": "[toLower(format('{0}', parameters('aiServicesName')))]",
626-
"apiProperties": {
627-
"statisticsEnabled": false
628-
},
629626
"publicNetworkAccess": "Enabled"
630627
}
631628
},

scenarios/Agents/setup/standard-agent-with-threadstorage/modules-standard/standard-dependent-resources.bicep

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -138,9 +138,6 @@ resource aiServices 'Microsoft.CognitiveServices/accounts@2024-10-01' = if(!aiSe
138138
}
139139
properties: {
140140
customSubDomainName: toLower('${(aiServicesName)}')
141-
apiProperties: {
142-
statisticsEnabled: false
143-
}
144141
publicNetworkAccess: 'Enabled'
145142
}
146143
}

scenarios/Agents/setup/standard-agent/azuredeploy.json

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"_generator": {
66
"name": "bicep",
77
"version": "0.33.93.31351",
8-
"templateHash": "13389557768405645377"
8+
"templateHash": "966971585980329555"
99
}
1010
},
1111
"parameters": {
@@ -247,7 +247,7 @@
247247
"_generator": {
248248
"name": "bicep",
249249
"version": "0.33.93.31351",
250-
"templateHash": "17188588850719968439"
250+
"templateHash": "6842509151070781721"
251251
}
252252
},
253253
"parameters": {
@@ -406,9 +406,6 @@
406406
},
407407
"properties": {
408408
"customSubDomainName": "[toLower(format('{0}', parameters('aiServicesName')))]",
409-
"apiProperties": {
410-
"statisticsEnabled": false
411-
},
412409
"publicNetworkAccess": "Enabled"
413410
}
414411
},

scenarios/Agents/setup/standard-agent/modules-standard/standard-dependent-resources.bicep

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,9 +96,6 @@ resource aiServices 'Microsoft.CognitiveServices/accounts@2024-10-01' = if(!aiSe
9696
}
9797
properties: {
9898
customSubDomainName: toLower('${(aiServicesName)}')
99-
apiProperties: {
100-
statisticsEnabled: false
101-
}
10299
publicNetworkAccess: 'Enabled'
103100
}
104101
}

0 commit comments

Comments
 (0)