azurerm_monitor_metric_alert

Nivis 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_name
  • scopes
Optional arguments
  • auto_mitigate (defaults to null)
  • description (defaults to null)
  • enabled (defaults to null)
  • frequency (defaults to null)
  • id (defaults to null)
  • cfg_name (defaults to null)
  • severity (defaults to null)
  • tags (defaults to null)
  • target_resource_location (defaults to null)
  • target_resource_type (defaults to null)
  • window_size (defaults to null)
  • action (defaults to null)
  • application_insights_web_test_location_availability_criteria (defaults to null)
  • criteria (defaults to null)
  • dynamic_criteria (defaults to null)
  • timeouts (defaults to null)
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.