File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ param releaseChannel string = 'Default'
7878// ------------------
7979
8080// https://learn.microsoft.com/azure/templates/microsoft.apimanagement/service
81- resource apimService 'Microsoft.ApiManagement/service@2025-09 -01-preview' = {
81+ resource apimService 'Microsoft.ApiManagement/service@2024-06 -01-preview' = {
8282 name : apiManagementName
8383 location : location
8484 sku : {
@@ -120,7 +120,7 @@ resource apimDiagnosticSettings 'Microsoft.Insights/diagnosticSettings@2021-05-0
120120 }
121121}
122122
123- resource apimLogger 'Microsoft.ApiManagement/service/loggers@2025-09 -01-preview' = if (length (lawId ) > 0 ) {
123+ resource apimLogger 'Microsoft.ApiManagement/service/loggers@2024-06 -01-preview' = if (length (lawId ) > 0 ) {
124124 parent : apimService
125125 name : 'azuremonitor'
126126 properties : {
@@ -130,7 +130,7 @@ resource apimLogger 'Microsoft.ApiManagement/service/loggers@2025-09-01-preview'
130130}
131131
132132// Create a logger only if we have an App Insights ID and instrumentation key.
133- resource apimAppInsightsLogger 'Microsoft.ApiManagement/service/loggers@2025-09 -01-preview' = if (!empty (appInsightsId ) && !empty (appInsightsInstrumentationKey )) {
133+ resource apimAppInsightsLogger 'Microsoft.ApiManagement/service/loggers@2021-12 -01-preview' = if (!empty (appInsightsId ) && !empty (appInsightsInstrumentationKey )) {
134134 name : 'appinsights-logger'
135135 parent : apimService
136136 properties : {
@@ -145,7 +145,7 @@ resource apimAppInsightsLogger 'Microsoft.ApiManagement/service/loggers@2025-09-
145145}
146146
147147@batchSize (1 )
148- resource apimSubscription 'Microsoft.ApiManagement/service/subscriptions@2025-09 -01-preview' = [for subscription in apimSubscriptionsConfig : if (length (apimSubscriptionsConfig ) > 0 ) {
148+ resource apimSubscription 'Microsoft.ApiManagement/service/subscriptions@2024-06 -01-preview' = [for subscription in apimSubscriptionsConfig : if (length (apimSubscriptionsConfig ) > 0 ) {
149149 name : subscription .name
150150 parent : apimService
151151 properties : {
You can’t perform that action at this time.
0 commit comments