File tree Expand file tree Collapse file tree 1 file changed +14
-7
lines changed
Expand file tree Collapse file tree 1 file changed +14
-7
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ var aiServicesName_cu = '${solutionName}-aiservices_cu'
1818var location_cu = cuLocation
1919// var aiServicesName_m = '${solutionName}-aiservices_m'
2020// var location_m = solutionLocation
21+ var workspaceName = '${solutionName }-workspace'
2122var applicationInsightsName = '${solutionName }-appinsights'
2223var containerRegistryName = '${solutionName }acr'
2324var keyvaultName = '${solutionName }-kv'
@@ -55,21 +56,27 @@ resource keyVault 'Microsoft.KeyVault/vaults@2022-07-01' existing = {
5556 name : keyVaultName
5657}
5758
59+ resource logAnalytics 'Microsoft.OperationalInsights/workspaces@2023-09-01' = {
60+ name : workspaceName
61+ location : location
62+ tags : {}
63+ properties : {
64+ retentionInDays : 30
65+ sku : {
66+ name : 'PerGB2018'
67+ }
68+ }
69+ }
70+
5871resource applicationInsights 'Microsoft.Insights/components@2020-02-02' = {
5972 name : applicationInsightsName
6073 location : location
6174 kind : 'web'
6275 properties : {
6376 Application_Type : 'web'
64- DisableIpMasking : false
65- DisableLocalAuth : false
66- Flow_Type : 'Bluefield'
67- ForceCustomerStorageForProfiler : false
68- ImmediatePurgeDataOn30Days : true
69- IngestionMode : 'ApplicationInsights'
7077 publicNetworkAccessForIngestion : 'Enabled'
7178 publicNetworkAccessForQuery : 'Disabled'
72- Request_Source : 'rest'
79+ WorkspaceResourceId : logAnalytics . id
7380 }
7481}
7582
You can’t perform that action at this time.
0 commit comments