Create-AzDiagPolicy
1.1
This script takes a SubscriptionID, ResourceType, ResourceGroup as parameters, analyzes the subscription or
specific ResourceGroup defined for the resources specified in $Resources, and builds a custom policy for diagnostic metrics/logs
for Event Hubs and Log Analytics as sink points for selected resource types.
Installation Options
Owners
Copyright
Microsoft
Package Details
Author(s)
- jbritt@microsoft.com
Functions
Get-ResourceType Add-IndexNumberToArray New-LogArray New-MetricArray Update-LogAnalyticsJSON Update-EventHubJSON Parse-ResourceType Validate-JSON
Dependencies
This script has no dependencies.
Release Notes
June 06, 2019 1.01
Updated a parameter for Event Hub name causing issues with configuration of Diagnostic Settings
FileList
- Create-AzDiagPolicy.nuspec
- Create-AzDiagPolicy.ps1
Version History
Version | Downloads | Last updated |
---|---|---|
2.9 | 1,672 | 9/9/2021 |