Skip to content

Latest commit

 

History

History
174 lines (135 loc) · 3.63 KB

azurerm_monitor_scheduled_query_rules_alert.md

File metadata and controls

174 lines (135 loc) · 3.63 KB

azurerm_monitor_scheduled_query_rules_alert

back

Index

Terraform

terraform {
  required_providers {
    azurerm = ">= 2.54.0"
  }
}

top

Example Usage

module "azurerm_monitor_scheduled_query_rules_alert" {
  source = "./modules/azurerm/d/azurerm_monitor_scheduled_query_rules_alert"

  # name - (required) is a type of string
  name = null
  # resource_group_name - (required) is a type of string
  resource_group_name = null

  timeouts = [{
    read = null
  }]
}

top

Variables

variable "name" {
  description = "(required)"
  type        = string
}

variable "resource_group_name" {
  description = "(required)"
  type        = string
}

variable "timeouts" {
  description = "nested block: NestingSingle, min items: 0, max items: 0"
  type = set(object(
    {
      read = string
    }
  ))
  default = []
}

top

Datasource

data "azurerm_monitor_scheduled_query_rules_alert" "this" {
  # name - (required) is a type of string
  name = var.name
  # resource_group_name - (required) is a type of string
  resource_group_name = var.resource_group_name

  dynamic "timeouts" {
    for_each = var.timeouts
    content {
      # read - (optional) is a type of string
      read = timeouts.value["read"]
    }
  }

}

top

Outputs

output "action" {
  description = "returns a set of object"
  value       = data.azurerm_monitor_scheduled_query_rules_alert.this.action
}

output "authorized_resource_ids" {
  description = "returns a set of string"
  value       = data.azurerm_monitor_scheduled_query_rules_alert.this.authorized_resource_ids
}

output "data_source_id" {
  description = "returns a string"
  value       = data.azurerm_monitor_scheduled_query_rules_alert.this.data_source_id
}

output "description" {
  description = "returns a string"
  value       = data.azurerm_monitor_scheduled_query_rules_alert.this.description
}

output "enabled" {
  description = "returns a bool"
  value       = data.azurerm_monitor_scheduled_query_rules_alert.this.enabled
}

output "frequency" {
  description = "returns a number"
  value       = data.azurerm_monitor_scheduled_query_rules_alert.this.frequency
}

output "id" {
  description = "returns a string"
  value       = data.azurerm_monitor_scheduled_query_rules_alert.this.id
}

output "location" {
  description = "returns a string"
  value       = data.azurerm_monitor_scheduled_query_rules_alert.this.location
}

output "query" {
  description = "returns a string"
  value       = data.azurerm_monitor_scheduled_query_rules_alert.this.query
}

output "query_type" {
  description = "returns a string"
  value       = data.azurerm_monitor_scheduled_query_rules_alert.this.query_type
}

output "severity" {
  description = "returns a number"
  value       = data.azurerm_monitor_scheduled_query_rules_alert.this.severity
}

output "tags" {
  description = "returns a map of string"
  value       = data.azurerm_monitor_scheduled_query_rules_alert.this.tags
}

output "throttling" {
  description = "returns a number"
  value       = data.azurerm_monitor_scheduled_query_rules_alert.this.throttling
}

output "time_window" {
  description = "returns a number"
  value       = data.azurerm_monitor_scheduled_query_rules_alert.this.time_window
}

output "trigger" {
  description = "returns a set of object"
  value       = data.azurerm_monitor_scheduled_query_rules_alert.this.trigger
}

output "this" {
  value = azurerm_monitor_scheduled_query_rules_alert.this
}

top