Skip to content

Commit

Permalink
Merge pull request #13134 from rbuder/docs/azurerm_monitor_scheduled_…
Browse files Browse the repository at this point in the history
…query_rules_log

Updates the documentation to fix resource name and dimention-block
  • Loading branch information
tombuildsstuff committed Aug 25, 2021
2 parents e92d187 + 0e16e2f commit d683b13
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -27,14 +27,14 @@ resource "azurerm_log_analytics_workspace" "example" {
}
# Example: LogToMetric Action for the named Computer
resource "azurerm_scheduled_query_rules_log" "example" {
resource "azurerm_monitor_scheduled_query_rules_log" "example" {
name = format("%s-queryrule", var.prefix)
location = azurerm_resource_group.example.location
resource_group_name = azurerm_resource_group.example.name
criteria {
metric_name = "Average_% Idle Time"
dimensions {
dimension {
name = "Computer"
operator = "Include"
values = ["targetVM"]
Expand Down

0 comments on commit d683b13

Please sign in to comment.