azurerm_monitor_metric_alertNivis Nix constructor for the azurerm_monitor_metric_alert resource (provider azurerm). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.
Constructor
{
name,
resource_group_name,
scopes,
auto_mitigate ? null,
description ? null,
enabled ? null,
frequency ? null,
id ? null,
cfg_name ? null,
severity ? null,
tags ? null,
target_resource_location ? null,
target_resource_type ? null,
window_size ? null,
action ? null,
application_insights_web_test_location_availability_criteria ? null,
criteria ? null,
dynamic_criteria ? null,
timeouts ? null,
overrides ? {}
}Required arguments
resource_group_namescopes
Optional arguments
auto_mitigate(defaults tonull)description(defaults tonull)enabled(defaults tonull)frequency(defaults tonull)id(defaults tonull)cfg_name(defaults tonull)severity(defaults tonull)tags(defaults tonull)target_resource_location(defaults tonull)target_resource_type(defaults tonull)window_size(defaults tonull)action(defaults tonull)application_insights_web_test_location_availability_criteria(defaults tonull)criteria(defaults tonull)dynamic_criteria(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
(none)
Example
azurerm_monitor_metric_alert {
name = "monitor_metric_alert";
resource_group_name = …; # required
scopes = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.