@@ -66,7 +66,7 @@ resource appInsights 'Microsoft.Insights/components@2020-02-02' existing = {
6666// Resources
6767//=============================================================================
6868
69- resource apiManagementService 'Microsoft.ApiManagement/service@2024-06 -01-preview' = {
69+ resource apiManagementService 'Microsoft.ApiManagement/service@2024-10 -01-preview' = {
7070 name : apiManagementSettings .serviceName
7171 location : location
7272 tags : serviceTags
@@ -87,7 +87,7 @@ resource apiManagementService 'Microsoft.ApiManagement/service@2024-06-01-previe
8787
8888// Store the app insights connection string in a named value
8989
90- resource appInsightsConnectionStringNamedValue 'Microsoft.ApiManagement/service/namedValues@2024-06 -01-preview' = {
90+ resource appInsightsConnectionStringNamedValue 'Microsoft.ApiManagement/service/namedValues@2024-10 -01-preview' = {
9191 name : 'appinsights-connection-string'
9292 parent : apiManagementService
9393 properties : {
@@ -101,7 +101,7 @@ resource appInsightsConnectionStringNamedValue 'Microsoft.ApiManagement/service/
101101// - we need a logger that is connected to the App Insights instance
102102// - we need diagnostics settings that specify what to log to the logger
103103
104- resource apimAppInsightsLogger 'Microsoft.ApiManagement/service/loggers@2024-06 -01-preview' = {
104+ resource apimAppInsightsLogger 'Microsoft.ApiManagement/service/loggers@2024-10 -01-preview' = {
105105 name : appInsightsName
106106 parent : apiManagementService
107107 properties : {
@@ -115,7 +115,7 @@ resource apimAppInsightsLogger 'Microsoft.ApiManagement/service/loggers@2024-06-
115115 }
116116}
117117
118- resource apimInsightsDiagnostics 'Microsoft.ApiManagement/service/diagnostics@2024-06 -01-preview' = {
118+ resource apimInsightsDiagnostics 'Microsoft.ApiManagement/service/diagnostics@2024-10 -01-preview' = {
119119 name : 'applicationinsights' // The name of the diagnostics resource has to be applicationinsights, because that's the logger type we chose
120120 parent : apiManagementService
121121 properties : {
0 commit comments