Data Source: azurerm_sentinel_alert_rule

Use this data source to access information about an existing Sentinel Alert Rule.

Example Usage

provider "azurerm" {
  features {}
}

data "azurerm_log_analytics_workspace" "example" {
  name                = "example"
  resource_group_name = "example-resources"
}

data "azurerm_sentinel_alert_rule" "example" {
  name                       = "existing"
  log_analytics_workspace_id = data.azurerm_log_analytics_workspace.example.id
}

output "id" {
  value = data.azurerm_sentinel_alert_rule.example.id
}

Arguments Reference

The following arguments are supported:

Attributes Reference

In addition to the Arguments listed above - the following Attributes are exported:

Timeouts

The timeouts block allows you to specify timeouts for certain actions: