You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
resource"azurerm_monitor_action_rule_action_group""this" {
# action_group_id - (required) is a type of stringaction_group_id=var.action_group_id# description - (optional) is a type of stringdescription=var.description# enabled - (optional) is a type of boolenabled=var.enabled# name - (required) is a type of stringname=var.name# resource_group_name - (required) is a type of stringresource_group_name=var.resource_group_name# tags - (optional) is a type of map of stringtags=var.tagsdynamic"condition" {
for_each=var.conditioncontent {
dynamic"alert_context" {
for_each=condition.value.alert_contextcontent {
# operator - (required) is a type of stringoperator=alert_context.value["operator"]
# values - (required) is a type of set of stringvalues=alert_context.value["values"]
}
}
dynamic"alert_rule_id" {
for_each=condition.value.alert_rule_idcontent {
# operator - (required) is a type of stringoperator=alert_rule_id.value["operator"]
# values - (required) is a type of set of stringvalues=alert_rule_id.value["values"]
}
}
dynamic"description" {
for_each=condition.value.descriptioncontent {
# operator - (required) is a type of stringoperator=description.value["operator"]
# values - (required) is a type of set of stringvalues=description.value["values"]
}
}
dynamic"monitor" {
for_each=condition.value.monitorcontent {
# operator - (required) is a type of stringoperator=monitor.value["operator"]
# values - (required) is a type of set of stringvalues=monitor.value["values"]
}
}
dynamic"monitor_service" {
for_each=condition.value.monitor_servicecontent {
# operator - (required) is a type of stringoperator=monitor_service.value["operator"]
# values - (required) is a type of set of stringvalues=monitor_service.value["values"]
}
}
dynamic"severity" {
for_each=condition.value.severitycontent {
# operator - (required) is a type of stringoperator=severity.value["operator"]
# values - (required) is a type of set of stringvalues=severity.value["values"]
}
}
dynamic"target_resource_type" {
for_each=condition.value.target_resource_typecontent {
# operator - (required) is a type of stringoperator=target_resource_type.value["operator"]
# values - (required) is a type of set of stringvalues=target_resource_type.value["values"]
}
}
}
}
dynamic"scope" {
for_each=var.scopecontent {
# resource_ids - (required) is a type of set of stringresource_ids=scope.value["resource_ids"]
# type - (required) is a type of stringtype=scope.value["type"]
}
}
dynamic"timeouts" {
for_each=var.timeoutscontent {
# create - (optional) is a type of stringcreate=timeouts.value["create"]
# delete - (optional) is a type of stringdelete=timeouts.value["delete"]
# read - (optional) is a type of stringread=timeouts.value["read"]
# update - (optional) is a type of stringupdate=timeouts.value["update"]
}
}
}