| action_groups |
Required. Azure Monitor Action Group Id (monitoring/action_group module can create this) |
list(string) |
n/a |
yes |
| alert_frequency |
Optional. The frequency of this Smart Detector Alert Rule in ISO8601 format. |
string |
"PT5M" |
no |
| alert_severity |
Optional. Sev 0: Critical. Sev 1 Error. Sev 2: Warning. Sev 3: Informational. Sev 4: Verbose |
number |
2 |
no |
| detector_type |
Optional. Specifies the Built-In Smart Detector type that this alert rule will use. Currently the only possible values are FailureAnomaliesDetector, RequestPerformanceDegradationDetector, DependencyPerformanceDegradationDetector, ExceptionVolumeChangedDetector, TraceSeverityDetector, MemoryLeakDetector. |
string |
"FailureAnomaliesDetector" |
no |
| email_subject |
Required. Subject of the alert email |
string |
n/a |
yes |
| name |
Required. Resource Name |
string |
n/a |
yes |
| resource_ids |
Required. Set of resource ids the metric query will target |
set(string) |
n/a |
yes |
| rg |
Required. Resource Group object |
object({ name = string location = string }) |
n/a |
yes |
| tags |
Optional. Base tags |
map(string) |
{} |
no |