Azure Monitor Action Rule Suppression
This page shows how to write Terraform and Azure Resource Manager for Monitor Action Rule Suppression and write them securely.
azurerm_monitor_action_rule_suppression (Terraform)
The Action Rule Suppression in Monitor can be configured in Terraform with the resource name azurerm_monitor_action_rule_suppression
. The following sections describe how to use the resource and its parameters.
Example Usage from GitHub
An example could not be found in GitHub.
Parameters
-
description
optional - string -
enabled
optional - bool -
id
optional computed - string -
name
required - string -
resource_group_name
required - string -
tags
optional - map from string to string -
condition
list block-
alert_context
list block -
alert_rule_id
list block -
description
list block -
monitor
list block -
monitor_service
list block -
severity
list block -
target_resource_type
list block
-
-
scope
list block-
resource_ids
required - set of string -
type
required - string
-
-
suppression
list block-
recurrence_type
required - string -
schedule
list block-
end_date_utc
required - string -
recurrence_monthly
optional - set of number -
recurrence_weekly
optional - set of string -
start_date_utc
required - string
-
-
-
timeouts
single block
Explanation in Terraform Registry
Manages an Monitor Action Rule which type is suppression.
Tips: Best Practices for The Other Azure Monitor Resources
In addition to the azurerm_monitor_log_profile, Azure Monitor has the other resources that should be configured for security reasons. Please check some examples of those resources and precautions.
azurerm_monitor_log_profile
Ensure to enable the activity retention log
It is better to enable the activity retention log to ensure that all the information required for an effective investigation is still available.
Microsoft.AlertsManagement/actionRules (Azure Resource Manager)
The actionRules in Microsoft.AlertsManagement can be configured in Azure Resource Manager with the resource name Microsoft.AlertsManagement/actionRules
. The following sections describe how to use the resource and its parameters.
Example Usage from GitHub
An example could not be found in GitHub.