last sync: 2024-Nov-25 18:54:24 UTC

Configure diagnostics for container group to log analytics workspace

Azure BuiltIn Policy definition

Source Azure Portal
Display name Configure diagnostics for container group to log analytics workspace
Id 21c469fa-a887-4363-88a9-60bfd6911a15
Version 1.0.0
Details on versioning
Versioning Versions supported for Versioning: 1
1.0.0
Built-in Versioning [Preview]
Category Container Instances
Microsoft Learn
Description Appends the specified log analytics workspaceId and workspaceKey when any container group which is missing these fields is created or updated. Does not modify the fields of container groups created before this policy was applied until those resource groups are changed.
Mode All
Type BuiltIn
Preview False
Deprecated False
Effect Default
Append
Allowed
Append, Disabled
RBAC role(s) none
Rule aliases IF (2)
Alias Namespace ResourceType Path PathIsDefault DefaultPath Modifiable
Microsoft.ContainerInstance/containerGroups/diagnostics.logAnalytics.workspaceId Microsoft.ContainerInstance containerGroups properties.diagnostics.logAnalytics.workspaceId True False
Microsoft.ContainerInstance/containerGroups/diagnostics.logAnalytics.workspaceKey Microsoft.ContainerInstance containerGroups properties.diagnostics.logAnalytics.workspaceKey True False
Rule resource types IF (1)
Microsoft.ContainerInstance/containerGroups
Compliance Not a Compliance control
Initiatives usage none
History
Date/Time (UTC ymd) (i) Change type Change detail
2023-03-17 18:44:06 add 21c469fa-a887-4363-88a9-60bfd6911a15
JSON compare n/a
JSON
api-version=2021-06-01
EPAC