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
module"azurerm_monitor_activity_log_alert" {
source="./modules/azurerm/r/azurerm_monitor_activity_log_alert"# description - (optional) is a type of stringdescription=null# enabled - (optional) is a type of boolenabled=null# name - (required) is a type of stringname=null# resource_group_name - (required) is a type of stringresource_group_name=null# scopes - (required) is a type of set of stringscopes=[]
# tags - (optional) is a type of map of stringtags={}
action=[{
action_group_id =null
webhook_properties = {}
}]
criteria=[{
caller =null
category =null
level =null
operation_name =null
recommendation_category =null
recommendation_impact =null
recommendation_type =null
resource_group =null
resource_id =null
resource_provider =null
resource_type =null
status =null
sub_status =null
}]
timeouts=[{
create =null
delete =null
read =null
update =null
}]
}
resource"azurerm_monitor_activity_log_alert""this" {
# 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# scopes - (required) is a type of set of stringscopes=var.scopes# tags - (optional) is a type of map of stringtags=var.tagsdynamic"action" {
for_each=var.actioncontent {
# action_group_id - (required) is a type of stringaction_group_id=action.value["action_group_id"]
# webhook_properties - (optional) is a type of map of stringwebhook_properties=action.value["webhook_properties"]
}
}
dynamic"criteria" {
for_each=var.criteriacontent {
# caller - (optional) is a type of stringcaller=criteria.value["caller"]
# category - (required) is a type of stringcategory=criteria.value["category"]
# level - (optional) is a type of stringlevel=criteria.value["level"]
# operation_name - (optional) is a type of stringoperation_name=criteria.value["operation_name"]
# recommendation_category - (optional) is a type of stringrecommendation_category=criteria.value["recommendation_category"]
# recommendation_impact - (optional) is a type of stringrecommendation_impact=criteria.value["recommendation_impact"]
# recommendation_type - (optional) is a type of stringrecommendation_type=criteria.value["recommendation_type"]
# resource_group - (optional) is a type of stringresource_group=criteria.value["resource_group"]
# resource_id - (optional) is a type of stringresource_id=criteria.value["resource_id"]
# resource_provider - (optional) is a type of stringresource_provider=criteria.value["resource_provider"]
# resource_type - (optional) is a type of stringresource_type=criteria.value["resource_type"]
# status - (optional) is a type of stringstatus=criteria.value["status"]
# sub_status - (optional) is a type of stringsub_status=criteria.value["sub_status"]
}
}
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"]
}
}
}