Skip to content

Commit 891444f

Browse files
committed
fix: update API Management resource versions to latest preview
1 parent d9fdb7a commit 891444f

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

modules/apim/v3/apim.bicep

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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: {

0 commit comments

Comments
 (0)