Skip to content

Instantly share code, notes, and snippets.

@TheCloudScout
Last active February 2, 2022 08:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save TheCloudScout/637b9ba429ceabdebd12af18646c5515 to your computer and use it in GitHub Desktop.
Save TheCloudScout/637b9ba429ceabdebd12af18646c5515 to your computer and use it in GitHub Desktop.
"resources": [
{
"type": "microsoft.operationalinsights/workspaces",
"apiVersion": "2021-06-01",
"name": "[parameters('logAnalyticsName')]",
"location": "[parameters('location')]",
"properties": {
"sku": {
"name": "pergb2018"
},
"retentionInDays": "[parameters('retentionInDays')]",
"workspaceCapping": {
"dailyQuotaGb": -1
},
"publicNetworkAccessForIngestion": "Enabled",
"publicNetworkAccessForQuery": "Enabled"
}
},
{
"type": "Microsoft.OperationsManagement/solutions",
"apiVersion": "2015-11-01-preview",
"name": "[variables('azureSentinelSolutionName')]",
"location": "[parameters('location')]",
"dependsOn": [
"[resourceId('microsoft.operationalinsights/workspaces', parameters('logAnalyticsName'))]"
],
"plan": {
"name": "[variables('azureSentinelSolutionName')]",
"promotionCode": "",
"product": "OMSGallery/SecurityInsights",
"publisher": "Microsoft"
},
"properties": {
"workspaceResourceId": "[resourceId('microsoft.operationalinsights/workspaces', parameters('logAnalyticsName'))]",
"sku": {
"name": "PerGB"
}
}
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment