kaas
This commit is contained in:
parent
76c5de5c32
commit
22c733d8da
7 changed files with 133 additions and 125 deletions
|
@ -1,11 +1,17 @@
|
|||
import { Context } from 'types.bicep'
|
||||
import { Context } from 'br/Tricep:types:latest'
|
||||
import { with_managed_identity } from 'br/Tricep:common/identity:latest'
|
||||
import { log_analytics } from 'br/Tricep:recommended/operational-insights/log-analytics:latest'
|
||||
|
||||
targetScope = 'resourceGroup'
|
||||
|
||||
param context Context
|
||||
|
||||
// resource monitoring 'Microsoft.___/___@___' = {
|
||||
// name: '___-${context.locationAbbreviation}-${context.environment}-${context.projectName}'
|
||||
// location: context.location
|
||||
// properties: {}
|
||||
// }
|
||||
var logAnalyticsConfig = log_analytics(context, [
|
||||
with_managed_identity()
|
||||
])
|
||||
|
||||
resource monitoring 'Microsoft.OperationalInsights/workspaces@2023-09-01' = {
|
||||
name: logAnalyticsConfig.name
|
||||
location: logAnalyticsConfig.location
|
||||
properties: logAnalyticsConfig.properties
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue