last sync: 2024-Dec-11 20:29:09 UTC

[Deprecated]: Deploy Diagnostic Settings for Virtual Machines to Log Analytics workspace

Azure Landing Zones (ALZ) Policy definition

Source Repository Azure Landing Zones (ALZ) GitHub
JSON Deploy-Diagnostics-VM
Deploy policy Deploy-Diagnostics-VM (1.1.0-deprecated) to Azure
Display name [Deprecated]: Deploy Diagnostic Settings for Virtual Machines to Log Analytics workspace
Id Deploy-Diagnostics-VM
Version 1.1.0-deprecated
Details on versioning
Category Monitoring
Description Deploys the diagnostic settings for Virtual Machines to stream to a Log Analytics workspace when any Virtual Machines which is missing this diagnostic settings is created or updated. This policy is superseded by built-in initiative https://www.azadvertizer.net/azpolicyinitiativesadvertizer/0884adba-2312-4468-abeb-5422caed1038.html.
Mode Indexed
Type Custom Azure Landing Zones (ALZ)
Preview False
Deprecated True
Effect Default
DeployIfNotExists
Allowed
DeployIfNotExists, Disabled
RBAC role(s)
Role Name Role Id
Monitoring Contributor 749f88d5-cbae-40b8-bcfc-e573ddc772fa
Log Analytics Contributor 92aaf0da-9dab-42b6-94a3-d43ce8d16293
Rule aliases THEN-ExistenceCondition (2)
Alias Namespace ResourceType Path PathIsDefault DefaultPath Modifiable
Microsoft.Insights/diagnosticSettings/metrics.enabled microsoft.insights diagnosticSettings properties.metrics[*].enabled True False
Microsoft.Insights/diagnosticSettings/workspaceId microsoft.insights diagnosticSettings properties.workspaceId True False
Rule resource types IF (1)
Microsoft.Compute/virtualMachines
Initiatives usage
Initiative DisplayName Initiative Id Initiative Category State
[Deprecated]: Deploy Diagnostic Settings to Azure Services Deploy-Diagnostics-LogAnalytics Monitoring Deprecated
History
Date/Time (UTC ymd) (i) Change type Change detail
2024-06-03 17:39:43 change Version remains equal, new suffix: deprecated (1.1.0 > 1.1.0-deprecated)
2022-10-25 25:16:43 change Minor (1.0.0 > 1.1.0)
JSON compare
compare mode: version left: version right:
JSON
EPAC
Deploy policy Deploy-Diagnostics-VM (1.1.0-deprecated) to Azure