Commit f2fe445 1 parent 8d481fe commit f2fe445 Copy full SHA for f2fe445
File tree 1 file changed +13
-1
lines changed
1 file changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -57,7 +57,8 @@ resource appInsights 'Microsoft.Insights/components@2020-02-02' = {
57
57
}
58
58
}
59
59
60
- resource managedEnvironment 'Microsoft.App/managedEnvironments@2024-03-01' = {
60
+ // https://learn.microsoft.com/en-us/azure/templates/microsoft.app/2024-10-02-preview/managedenvironments?pivots=deployment-language-bicep
61
+ resource managedEnvironment 'Microsoft.App/managedEnvironments@2024-10-02-preview' = {
61
62
name : managedEnvironmentName
62
63
location : location
63
64
tags : tags
@@ -69,6 +70,17 @@ resource managedEnvironment 'Microsoft.App/managedEnvironments@2024-03-01' = {
69
70
sharedKey : workspace .listKeys ().primarySharedKey
70
71
}
71
72
}
73
+ appInsightsConfiguration : {
74
+ connectionString : appInsights .properties .ConnectionString
75
+ }
76
+ openTelemetryConfiguration : {
77
+ tracesConfiguration : {
78
+ destinations : ['appInsights' ]
79
+ }
80
+ logsConfiguration : {
81
+ destinations : ['appInsights' ]
82
+ }
83
+ }
72
84
}
73
85
}
74
86
You can’t perform that action at this time.
0 commit comments