last sync: 2025-Aug-20 17:22:59 UTC

Apply Diagnostic Settings for Azure Public IPAddresses to a regional Event Hub

Community Policy definition

Source Repository Community-Policy GitHub
JSON Community-Policy GitHub
Deploy policy 736265c5-0b1e-489a-9af5-17e3849155d4 (1.0.0) to Azure
Display name Apply Diagnostic Settings for Azure Public IPAddresses to a regional Event Hub
Id 736265c5-0b1e-489a-9af5-17e3849155d4
Version 1.0.0
Details on versioning
Category Monitoring
Microsoft Learn
Description This policy automatically deploys diagnostic settings for Public IPAddresses to a regional event hub.
Mode Indexed
Type Custom Community
Effect Default
DeployIfNotExists
Allowed
DeployIfNotExists, AuditIfNotExists, Disabled
RBAC role(s)
Role Name Role Id
Contributor b24988ac-6180-42a0-ab88-20f7382dd24c
Rule aliases THEN-ExistenceCondition (3)
Alias Namespace ResourceType Path PathIsDefault DefaultPath Modifiable
Microsoft.Insights/diagnosticSettings/eventHubName microsoft.insights diagnosticSettings properties.eventHubName True False
Microsoft.Insights/diagnosticSettings/logs.enabled microsoft.insights diagnosticSettings properties.logs[*].enabled True False
Microsoft.Insights/diagnosticSettings/metrics.enabled microsoft.insights diagnosticSettings properties.metrics[*].enabled True False
Rule resource types IF (1)
Microsoft.Network/publicIPAddresses
JSON
EPAC
Deploy policy 736265c5-0b1e-489a-9af5-17e3849155d4 (1.0.0) to Azure