@@ -25,7 +25,7 @@ param apiBackendUrl string
25
25
26
26
var apiPolicyContent = replace (loadTextContent ('apim-api-policy.xml' ), '{origin}' , webFrontendUrl )
27
27
28
- resource restApi 'Microsoft.ApiManagement/service/apis@2021-12 -01-preview' = {
28
+ resource restApi 'Microsoft.ApiManagement/service/apis@2023-05 -01-preview' = {
29
29
name : apiName
30
30
parent : apimService
31
31
properties : {
@@ -41,7 +41,7 @@ resource restApi 'Microsoft.ApiManagement/service/apis@2021-12-01-preview' = {
41
41
}
42
42
}
43
43
44
- resource apiPolicy 'Microsoft.ApiManagement/service/apis/policies@2021-12 -01-preview' = {
44
+ resource apiPolicy 'Microsoft.ApiManagement/service/apis/policies@2023-05 -01-preview' = {
45
45
name : 'policy'
46
46
parent : restApi
47
47
properties : {
@@ -50,7 +50,7 @@ resource apiPolicy 'Microsoft.ApiManagement/service/apis/policies@2021-12-01-pre
50
50
}
51
51
}
52
52
53
- resource apiDiagnostics 'Microsoft.ApiManagement/service/apis/diagnostics@2021-12 -01-preview' = {
53
+ resource apiDiagnostics 'Microsoft.ApiManagement/service/apis/diagnostics@2023-05 -01-preview' = {
54
54
name : 'applicationinsights'
55
55
parent : restApi
56
56
properties : {
@@ -91,7 +91,7 @@ resource apiDiagnostics 'Microsoft.ApiManagement/service/apis/diagnostics@2021-1
91
91
}
92
92
}
93
93
94
- resource apimProduct 'Microsoft.ApiManagement/service/products@2022-08 -01' = {
94
+ resource apimProduct 'Microsoft.ApiManagement/service/products@2023-05 -01-preview ' = {
95
95
name : 'apim-api-product'
96
96
parent : apimService
97
97
properties : {
@@ -104,11 +104,11 @@ resource apimProduct 'Microsoft.ApiManagement/service/products@2022-08-01' = {
104
104
}
105
105
}
106
106
107
- resource apimService 'Microsoft.ApiManagement/service@2021-08 -01' existing = {
107
+ resource apimService 'Microsoft.ApiManagement/service@2023-05 -01-preview ' existing = {
108
108
name : name
109
109
}
110
110
111
- resource apimLogger 'Microsoft.ApiManagement/service/loggers@2021-12 -01-preview' existing = {
111
+ resource apimLogger 'Microsoft.ApiManagement/service/loggers@2023-05 -01-preview' existing = {
112
112
name : 'app-insights-logger'
113
113
parent : apimService
114
114
}
0 commit comments