From 79dac2fd5bd14e2cbe840429768c32dd36d48c71 Mon Sep 17 00:00:00 2001 From: Tyler D Date: Thu, 17 Oct 2019 17:38:56 -0500 Subject: [PATCH 1/2] Fixing issue #3843 Space in "Service Health" category causes 500 error when executing REST call --- azurerm/resource_arm_monitor_activity_log_alert.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azurerm/resource_arm_monitor_activity_log_alert.go b/azurerm/resource_arm_monitor_activity_log_alert.go index 659ba128d900..d1066884339e 100644 --- a/azurerm/resource_arm_monitor_activity_log_alert.go +++ b/azurerm/resource_arm_monitor_activity_log_alert.go @@ -75,7 +75,7 @@ func resourceArmMonitorActivityLogAlert() *schema.Resource { "Policy", "Recommendation", "Security", - "Service Health", + "ServiceHealth", }, false), }, "operation_name": { From 42925d0a08e7f9eaccc587886e1fb4ecab500d34 Mon Sep 17 00:00:00 2001 From: Tyler D Date: Fri, 18 Oct 2019 09:48:35 -0500 Subject: [PATCH 2/2] Updating Documentation related to Issue #3843 Removing the space in Service Health --- website/docs/r/monitor_activity_log_alert.html.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/r/monitor_activity_log_alert.html.markdown b/website/docs/r/monitor_activity_log_alert.html.markdown index 7cbca34b7da3..d6e30ca33c5a 100644 --- a/website/docs/r/monitor_activity_log_alert.html.markdown +++ b/website/docs/r/monitor_activity_log_alert.html.markdown @@ -83,7 +83,7 @@ An `action` block supports the following: A `criteria` block supports the following: -* `category` - (Required) The category of the operation. Possible values are `Administrative`, `Autoscale`, `Policy`, `Recommendation`, `Security` and `Service Health`. +* `category` - (Required) The category of the operation. Possible values are `Administrative`, `Autoscale`, `Policy`, `Recommendation`, `Security` and `ServiceHealth`. * `operation_name` - (Optional) The Resource Manager Role-Based Access Control operation name. Supported operation should be of the form: `//`. * `resource_provider` - (Optional) The name of the resource provider monitored by the activity log alert. * `resource_type` - (Optional) The resource type monitored by the activity log alert.