Skip to content

Commit 99bd63e

Browse files
fix: update API versions and generator metadata in deployment template
1 parent f6e2588 commit 99bd63e

1 file changed

Lines changed: 32 additions & 32 deletions

File tree

infra/main.json

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
"metadata": {
66
"_generator": {
77
"name": "bicep",
8-
"version": "0.36.177.2456",
9-
"templateHash": "2628360443413130454"
8+
"version": "0.43.1.21952",
9+
"templateHash": "1278209883407272359"
1010
}
1111
},
1212
"parameters": {
@@ -358,7 +358,7 @@
358358
},
359359
"appIdentity": {
360360
"type": "Microsoft.Resources/deployments",
361-
"apiVersion": "2022-09-01",
361+
"apiVersion": "2025-04-01",
362362
"name": "[take(format('avm.res.managed-identity.user-assigned-identity.{0}', variables('userAssignedIdentityResourceName')), 64)]",
363363
"properties": {
364364
"expressionEvaluationOptions": {
@@ -841,7 +841,7 @@
841841
"logAnalyticsWorkspace": {
842842
"condition": "[and(or(parameters('enableMonitoring'), parameters('enablePrivateNetworking')), not(variables('useExistingLogAnalytics')))]",
843843
"type": "Microsoft.Resources/deployments",
844-
"apiVersion": "2022-09-01",
844+
"apiVersion": "2025-04-01",
845845
"name": "[take(format('avm.res.operational-insights.workspace.{0}', variables('logAnalyticsWorkspaceResourceName')), 64)]",
846846
"properties": {
847847
"expressionEvaluationOptions": {
@@ -3947,7 +3947,7 @@
39473947
"applicationInsights": {
39483948
"condition": "[parameters('enableMonitoring')]",
39493949
"type": "Microsoft.Resources/deployments",
3950-
"apiVersion": "2022-09-01",
3950+
"apiVersion": "2025-04-01",
39513951
"name": "[take(format('avm.res.insights.component.{0}', variables('applicationInsightsResourceName')), 64)]",
39523952
"properties": {
39533953
"expressionEvaluationOptions": {
@@ -4678,7 +4678,7 @@
46784678
"virtualNetwork": {
46794679
"condition": "[parameters('enablePrivateNetworking')]",
46804680
"type": "Microsoft.Resources/deployments",
4681-
"apiVersion": "2022-09-01",
4681+
"apiVersion": "2025-04-01",
46824682
"name": "[take(format('module.virtual-network.{0}', variables('solutionSuffix')), 64)]",
46834683
"properties": {
46844684
"expressionEvaluationOptions": {
@@ -4715,8 +4715,8 @@
47154715
"metadata": {
47164716
"_generator": {
47174717
"name": "bicep",
4718-
"version": "0.36.177.2456",
4719-
"templateHash": "14325184480475687154"
4718+
"version": "0.43.1.21952",
4719+
"templateHash": "4488065934246762087"
47204720
}
47214721
},
47224722
"definitions": {
@@ -5160,7 +5160,7 @@
51605160
},
51615161
"condition": "[not(empty(tryGet(parameters('subnets')[copyIndex()], 'networkSecurityGroup')))]",
51625162
"type": "Microsoft.Resources/deployments",
5163-
"apiVersion": "2022-09-01",
5163+
"apiVersion": "2025-04-01",
51645164
"name": "[take(format('avm.res.network.network-security-group.{0}.{1}', tryGet(parameters('subnets')[copyIndex()], 'networkSecurityGroup', 'name'), parameters('resourceSuffix')), 64)]",
51655165
"properties": {
51665166
"expressionEvaluationOptions": {
@@ -5812,7 +5812,7 @@
58125812
},
58135813
"virtualNetwork": {
58145814
"type": "Microsoft.Resources/deployments",
5815-
"apiVersion": "2022-09-01",
5815+
"apiVersion": "2025-04-01",
58165816
"name": "[take(format('avm.res.network.virtual-network.{0}', parameters('name')), 64)]",
58175817
"properties": {
58185818
"expressionEvaluationOptions": {
@@ -7539,7 +7539,7 @@
75397539
"bastionHost": {
75407540
"condition": "[parameters('enablePrivateNetworking')]",
75417541
"type": "Microsoft.Resources/deployments",
7542-
"apiVersion": "2022-09-01",
7542+
"apiVersion": "2025-04-01",
75437543
"name": "[take(format('avm.res.network.bastion-host.{0}', variables('bastionHostName')), 64)]",
75447544
"properties": {
75457545
"expressionEvaluationOptions": {
@@ -8845,7 +8845,7 @@
88458845
"jumpboxVM": {
88468846
"condition": "[parameters('enablePrivateNetworking')]",
88478847
"type": "Microsoft.Resources/deployments",
8848-
"apiVersion": "2022-09-01",
8848+
"apiVersion": "2025-04-01",
88498849
"name": "[take(format('avm.res.compute.virtual-machine.{0}', variables('jumpboxVmName')), 64)]",
88508850
"properties": {
88518851
"expressionEvaluationOptions": {
@@ -17178,7 +17178,7 @@
1717817178
},
1717917179
"condition": "[and(parameters('enablePrivateNetworking'), or(empty(parameters('existingFoundryProjectResourceId')), not(contains(variables('aiRelatedDnsZoneIndices'), copyIndex()))))]",
1718017180
"type": "Microsoft.Resources/deployments",
17181-
"apiVersion": "2022-09-01",
17181+
"apiVersion": "2025-04-01",
1718217182
"name": "[format('dns-zone-{0}', copyIndex())]",
1718317183
"properties": {
1718417184
"expressionEvaluationOptions": {
@@ -20345,7 +20345,7 @@
2034520345
},
2034620346
"storageAccount": {
2034720347
"type": "Microsoft.Resources/deployments",
20348-
"apiVersion": "2022-09-01",
20348+
"apiVersion": "2025-04-01",
2034920349
"name": "[take(format('avm.res.storage.storage-account.{0}', variables('storageAccountName')), 64)]",
2035020350
"properties": {
2035120351
"expressionEvaluationOptions": {
@@ -26135,14 +26135,14 @@
2613526135
},
2613626136
"dependsOn": [
2613726137
"appIdentity",
26138-
"[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').storageBlob)]",
2613926138
"[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').storageQueue)]",
26139+
"[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').storageBlob)]",
2614026140
"virtualNetwork"
2614126141
]
2614226142
},
2614326143
"cosmosDb": {
2614426144
"type": "Microsoft.Resources/deployments",
26145-
"apiVersion": "2022-09-01",
26145+
"apiVersion": "2025-04-01",
2614626146
"name": "[take(format('avm.res.document-db.database-account.{0}', variables('cosmosDbResourceName')), 64)]",
2614726147
"properties": {
2614826148
"expressionEvaluationOptions": {
@@ -30025,7 +30025,7 @@
3002530025
"existingAiFoundryAiServicesDeployments": {
3002630026
"condition": "[variables('useExistingAiFoundryAiProject')]",
3002730027
"type": "Microsoft.Resources/deployments",
30028-
"apiVersion": "2022-09-01",
30028+
"apiVersion": "2025-04-01",
3002930029
"name": "[take(format('module.ai-services-model-deployments.{0}', variables('aiFoundryAiServicesResourceName')), 64)]",
3003030030
"subscriptionId": "[variables('aiFoundryAiServicesSubscriptionId')]",
3003130031
"resourceGroup": "[variables('aiFoundryAiServicesResourceGroupName')]",
@@ -30103,8 +30103,8 @@
3010330103
"metadata": {
3010430104
"_generator": {
3010530105
"name": "bicep",
30106-
"version": "0.36.177.2456",
30107-
"templateHash": "15406919741214273256"
30106+
"version": "0.43.1.21952",
30107+
"templateHash": "17526785557845507677"
3010830108
}
3010930109
},
3011030110
"definitions": {
@@ -30411,7 +30411,7 @@
3041130411
},
3041230412
"type": "Microsoft.Authorization/roleAssignments",
3041330413
"apiVersion": "2022-04-01",
30414-
"scope": "[format('Microsoft.CognitiveServices/accounts/{0}', parameters('name'))]",
30414+
"scope": "[resourceId('Microsoft.CognitiveServices/accounts', parameters('name'))]",
3041530415
"name": "[coalesce(tryGet(coalesce(variables('formattedRoleAssignments'), createArray())[copyIndex()], 'name'), guid(resourceId('Microsoft.CognitiveServices/accounts', parameters('name')), coalesce(variables('formattedRoleAssignments'), createArray())[copyIndex()].principalId, coalesce(variables('formattedRoleAssignments'), createArray())[copyIndex()].roleDefinitionId))]",
3041630416
"properties": {
3041730417
"roleDefinitionId": "[coalesce(variables('formattedRoleAssignments'), createArray())[copyIndex()].roleDefinitionId]",
@@ -30433,7 +30433,7 @@
3043330433
"aiFoundryAiServices": {
3043430434
"condition": "[not(variables('useExistingAiFoundryAiProject'))]",
3043530435
"type": "Microsoft.Resources/deployments",
30436-
"apiVersion": "2022-09-01",
30436+
"apiVersion": "2025-04-01",
3043730437
"name": "[take(format('avm.res.cognitive-services.account.{0}', variables('aiFoundryAiServicesResourceName')), 64)]",
3043830438
"properties": {
3043930439
"expressionEvaluationOptions": {
@@ -33083,7 +33083,7 @@
3308333083
"aiFoundryPrivateEndpoint": {
3308433084
"condition": "[and(parameters('enablePrivateNetworking'), not(variables('useExistingAiFoundryAiProject')))]",
3308533085
"type": "Microsoft.Resources/deployments",
33086-
"apiVersion": "2022-09-01",
33086+
"apiVersion": "2025-04-01",
3308733087
"name": "[take(format('pep-{0}-deployment', variables('aiFoundryAiServicesResourceName')), 64)]",
3308833088
"properties": {
3308933089
"expressionEvaluationOptions": {
@@ -33862,7 +33862,7 @@
3386233862
"aiFoundryProject": {
3386333863
"condition": "[not(variables('useExistingAiFoundryAiProject'))]",
3386433864
"type": "Microsoft.Resources/deployments",
33865-
"apiVersion": "2022-09-01",
33865+
"apiVersion": "2025-04-01",
3386633866
"name": "[take(format('module.ai-project.{0}', variables('aiFoundryAiProjectResourceName')), 64)]",
3386733867
"properties": {
3386833868
"expressionEvaluationOptions": {
@@ -33892,8 +33892,8 @@
3389233892
"metadata": {
3389333893
"_generator": {
3389433894
"name": "bicep",
33895-
"version": "0.36.177.2456",
33896-
"templateHash": "9521962578302996488"
33895+
"version": "0.43.1.21952",
33896+
"templateHash": "8251376928798842081"
3389733897
}
3389833898
},
3389933899
"parameters": {
@@ -33986,7 +33986,7 @@
3398633986
},
3398733987
"appConfiguration": {
3398833988
"type": "Microsoft.Resources/deployments",
33989-
"apiVersion": "2022-09-01",
33989+
"apiVersion": "2025-04-01",
3399033990
"name": "[take(format('avm.res.app-config.store.{0}', variables('solutionSuffix')), 64)]",
3399133991
"properties": {
3399233992
"expressionEvaluationOptions": {
@@ -36331,7 +36331,7 @@
3633136331
"avmAppConfigUpdated": {
3633236332
"condition": "[parameters('enablePrivateNetworking')]",
3633336333
"type": "Microsoft.Resources/deployments",
36334-
"apiVersion": "2022-09-01",
36334+
"apiVersion": "2025-04-01",
3633536335
"name": "[take(format('avm.res.app-configuration.configuration-store-update.{0}', variables('solutionSuffix')), 64)]",
3633636336
"properties": {
3633736337
"expressionEvaluationOptions": {
@@ -38348,7 +38348,7 @@
3834838348
},
3834938349
"containerAppsEnvironment": {
3835038350
"type": "Microsoft.Resources/deployments",
38351-
"apiVersion": "2022-09-01",
38351+
"apiVersion": "2025-04-01",
3835238352
"name": "[take(format('avm.res.app.managed-environment.{0}', variables('solutionSuffix')), 64)]",
3835338353
"properties": {
3835438354
"expressionEvaluationOptions": {
@@ -38367,7 +38367,7 @@
3836738367
"systemAssigned": true
3836838368
}
3836938369
},
38370-
"appLogsConfiguration": "[if(parameters('enableMonitoring'), createObject('value', createObject('destination', 'log-analytics', 'logAnalyticsConfiguration', createObject('customerId', if(variables('useExistingLogAnalytics'), reference('existingLogAnalyticsWorkspace').customerId, reference('logAnalyticsWorkspace').outputs.logAnalyticsWorkspaceId.value), 'sharedKey', if(variables('useExistingLogAnalytics'), listKeys('existingLogAnalyticsWorkspace', '2020-08-01').primarySharedKey, listOutputsWithSecureValues('logAnalyticsWorkspace', '2022-09-01').primarySharedKey)))), createObject('value', null()))]",
38370+
"appLogsConfiguration": "[if(parameters('enableMonitoring'), createObject('value', createObject('destination', 'log-analytics', 'logAnalyticsConfiguration', createObject('customerId', if(variables('useExistingLogAnalytics'), reference('existingLogAnalyticsWorkspace').customerId, reference('logAnalyticsWorkspace').outputs.logAnalyticsWorkspaceId.value), 'sharedKey', if(variables('useExistingLogAnalytics'), listKeys('existingLogAnalyticsWorkspace', '2020-08-01').primarySharedKey, listOutputsWithSecureValues('logAnalyticsWorkspace', '2025-04-01').primarySharedKey)))), createObject('value', null()))]",
3837138371
"workloadProfiles": {
3837238372
"value": [
3837338373
{
@@ -39269,7 +39269,7 @@
3926939269
},
3927039270
"containerAppBackend": {
3927139271
"type": "Microsoft.Resources/deployments",
39272-
"apiVersion": "2022-09-01",
39272+
"apiVersion": "2025-04-01",
3927339273
"name": "[take(format('avm.res.app.container-app.{0}', variables('backendContainerAppName')), 64)]",
3927439274
"properties": {
3927539275
"expressionEvaluationOptions": {
@@ -40916,7 +40916,7 @@
4091640916
},
4091740917
"containerAppFrontend": {
4091840918
"type": "Microsoft.Resources/deployments",
40919-
"apiVersion": "2022-09-01",
40919+
"apiVersion": "2025-04-01",
4092040920
"name": "[take(format('avm.res.app.container-app.{0}', variables('frontEndContainerAppName')), 64)]",
4092140921
"properties": {
4092240922
"expressionEvaluationOptions": {
@@ -42564,7 +42564,7 @@
4256442564
},
4256542565
"containerAppProcessor": {
4256642566
"type": "Microsoft.Resources/deployments",
42567-
"apiVersion": "2022-09-01",
42567+
"apiVersion": "2025-04-01",
4256842568
"name": "[take(format('avm.res.app.container-app.{0}', variables('processorContainerAppName')), 64)]",
4256942569
"properties": {
4257042570
"expressionEvaluationOptions": {

0 commit comments

Comments
 (0)