| action_groups |
Required. Azure Monitor Action Group Id (monitoring/action_group module can create this) |
list(string) |
n/a |
yes |
| alert_frequency |
Required. |
number |
n/a |
yes |
| alert_severity |
Required. Sev 0: Critical. Sev 1 Error. Sev 2: Warning. Sev 3: Informational. Sev 4: Verbose |
number |
n/a |
yes |
| alert_time_window |
Required. |
number |
n/a |
yes |
| appinsights_id |
Required. App Insights instance Id |
string |
n/a |
yes |
| auto_mitigation |
Optional. Should the alert auto-clear when condition no longer exists? |
bool |
true |
no |
| description |
hmm |
string |
"" |
no |
| email_subject |
Subject of the alert email |
string |
n/a |
yes |
| name |
Required. Resource Name |
string |
n/a |
yes |
| query |
Required. Query of the alert |
string |
n/a |
yes |
| query_scope |
Optional. List of resource ids the query will target; also known as the query Scope. If only querying a single resource, this should be an empty list ([]) |
list(string) |
[] |
no |
| query_trigger |
Optional. Threshold that will trigger the alert |
object({ threshold = number operator = string }) |
{ "operator": "GreaterThan", "threshold": 0 } |
no |
| rg |
Required. Resource Group object |
object({ name = string location = string }) |
n/a |
yes |
| tags |
Optional. Base tags |
map(string) |
{} |
no |