File tree Expand file tree Collapse file tree 1 file changed +27
-2
lines changed Expand file tree Collapse file tree 1 file changed +27
-2
lines changed Original file line number Diff line number Diff line change 107107 "defaultValue" : " [concat('SUMOBRAppInsights', uniqueString(resourceGroup().id))]" ,
108108 "type" : " String"
109109 },
110+ "logAnalyticsWorkspaceName" : {
111+ "defaultValue" : " [concat('SUMOBRLAworkspace', uniqueString(resourceGroup().id))]" ,
112+ "type" : " String"
113+ },
110114 "location" : {
111115 "type" : " string" ,
112116 "defaultValue" : " [resourceGroup().location]"
654658 " [resourceId('Microsoft.ServiceBus/namespaces', parameters('namespaces_blobreadertaskqueue_name'))]"
655659 ]
656660 },
661+ {
662+ "type" : " microsoft.operationalinsights/workspaces" ,
663+ "apiVersion" : " 2020-08-01" ,
664+ "name" : " [parameters('logAnalyticsWorkspaceName')]" ,
665+ "location" : " [parameters('location')]" ,
666+ "properties" : {
667+ "sku" : {
668+ "name" : " pergb2018"
669+ },
670+ "retentionInDays" : 30 ,
671+ "features" : {
672+ "enableLogAccessUsingOnlyResourcePermissions" : true
673+ },
674+ "workspaceCapping" : {
675+ "dailyQuotaGb" : -1
676+ },
677+ "publicNetworkAccessForIngestion" : " Enabled" ,
678+ "publicNetworkAccessForQuery" : " Enabled"
679+ }
680+ },
657681 {
658682 "name" : " [parameters('appInsightsName')]" ,
659683 "type" : " Microsoft.Insights/components" ,
662686 "kind" : " web" ,
663687 "properties" : {
664688 "Application_Type" : " web" ,
665- "applicationId" : " [parameters('appInsightsName')]"
689+ "applicationId" : " [parameters('appInsightsName')]" ,
690+ "WorkspaceResourceId" : " [resourceId('microsoft.operationalinsights/workspaces', parameters('logAnalyticsWorkspaceName'))]"
666691 }
667692 }
668693 ]
669- }
694+ }
You can’t perform that action at this time.
0 commit comments