Skip to content

Commit c266f78

Browse files
committed
api version
1 parent 3a4a72a commit c266f78

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

articles/api-management/api-management-howto-app-insights.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ Follow these steps to use the Azure portal to create a connection between Applic
7777
7878
## Create a connection using the REST API, Bicep, or ARM template
7979

80-
Follow these steps to use the REST API, Bicep, or ARM template to create a connection between Application Insights and API Management. You can configure a logger that uses a connection string, system-assigned identity, or user-assigned identity.
80+
Follow these steps to use the REST API, Bicep, or ARM template to create a connection between Application Insights and API Management. You can configure a logger that uses a connection string, system-assigned managed identity, or user-assigned managed identity.
8181

8282
### Logger with connection string credentials
8383

@@ -104,7 +104,7 @@ Use the API Management [REST API](/rest/api/apimanagement/current-preview/logger
104104
Include a snippet similar to the following in your Bicep template.
105105

106106
```Bicep
107-
resource aiLoggerWithSystemAssignedIdentity 'Microsoft.ApiManagement/service/loggers@2022-04-01-preview' = {
107+
resource aiLoggerWithSystemAssignedIdentity 'Microsoft.ApiManagement/service/loggers@2022-08-01' = {
108108
name: 'ContosoLogger1'
109109
parent: '<APIManagementInstanceName>'
110110
properties: {
@@ -124,7 +124,7 @@ Include a JSON snippet similar to the following in your Azure Resource Manager t
124124
```JSON
125125
{
126126
"type": "Microsoft.ApiManagement/service/loggers",
127-
"apiVersion": "2022-04-01-preview",
127+
"apiVersion": "2022-08-01",
128128
"name": "ContosoLogger1",
129129
"properties": {
130130
"loggerType": "applicationInsights",
@@ -165,7 +165,7 @@ Use the API Management [REST API](/rest/api/apimanagement/current-preview/logger
165165
Include a snippet similar to the following in your Bicep template.
166166

167167
```Bicep
168-
resource aiLoggerWithSystemAssignedIdentity 'Microsoft.ApiManagement/service/loggers@2022-04-01-preview' = {
168+
resource aiLoggerWithSystemAssignedIdentity 'Microsoft.ApiManagement/service/loggers@2022-08-01' = {
169169
name: 'ContosoLogger1'
170170
parent: '<APIManagementInstanceName>'
171171
properties: {
@@ -186,7 +186,7 @@ Include a JSON snippet similar to the following in your Azure Resource Manager t
186186
```JSON
187187
{
188188
"type": "Microsoft.ApiManagement/service/loggers",
189-
"apiVersion": "2022-04-01-preview",
189+
"apiVersion": "2022-08-01",
190190
"name": "ContosoLogger1",
191191
"properties": {
192192
"loggerType": "applicationInsights",
@@ -195,7 +195,7 @@ Include a JSON snippet similar to the following in your Azure Resource Manager t
195195
"credentials": {
196196
"connectionString": "InstrumentationKey=00000000-0000-0000-0000-000000000000;IngestionEndpoint=https://xxxx.applicationinsights.azure.com/;...",
197197
"identityClientId": "SystemAssigned"
198-
},
198+
}
199199
}
200200
}
201201
```
@@ -227,7 +227,7 @@ Use the API Management [REST API](/rest/api/apimanagement/current-preview/logger
227227
Include a snippet similar the following in your Bicep template.
228228

229229
```Bicep
230-
resource aiLoggerWithUserAssignedIdentity 'Microsoft.ApiManagement/service/loggers@2022-04-01-preview' = {
230+
resource aiLoggerWithUserAssignedIdentity 'Microsoft.ApiManagement/service/loggers@2022-08-01' = {
231231
name: 'ContosoLogger1'
232232
parent: '<APIManagementInstanceName>'
233233
properties: {
@@ -248,7 +248,7 @@ Include a JSON snippet similar to the following in your Azure Resource Manager t
248248
```JSON
249249
{
250250
"type": "Microsoft.ApiManagement/service/loggers",
251-
"apiVersion": "2022-04-01-preview",
251+
"apiVersion": "2022-08-01",
252252
"name": "ContosoLogger1",
253253
"properties": {
254254
"loggerType": "applicationInsights",
@@ -257,7 +257,7 @@ Include a JSON snippet similar to the following in your Azure Resource Manager t
257257
"credentials": {
258258
"connectionString": "InstrumentationKey=00000000-0000-0000-0000-000000000000;IngestionEndpoint=https://xxxx.applicationinsights.azure.com/;...",
259259
"identityClientId": "<ClientID>"
260-
},
260+
}
261261
}
262262
}
263263
```

0 commit comments

Comments
 (0)