Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

azurerm_monitor_activity_log_alert - support setting HighAvailability for recommend_category #23605

Merged
merged 1 commit into from
Oct 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,7 @@ func resourceMonitorActivityLogAlert() *pluginsdk.Resource {
"Reliability",
"OperationalExcellence",
"Performance",
"HighAvailability",
},
false,
),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -568,7 +568,7 @@ resource "azurerm_monitor_activity_log_alert" "test" {
resource_type = "Microsoft.Storage/storageAccounts"
resource_group = azurerm_resource_group.test.name
resource_id = azurerm_storage_account.test.id
recommendation_category = "OperationalExcellence"
recommendation_category = "HighAvailability"
recommendation_impact = "High"
caller = "test email address"
level = "Critical"
Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/monitor_activity_log_alert.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ A `criteria` block supports the following:
~> **NOTE:** `sub_status` and `sub_statuses` are mutually exclusive.

* `recommendation_type` - (Optional) The recommendation type of the event. It is only allowed when `category` is `Recommendation`.
* `recommendation_category` - (Optional) The recommendation category of the event. Possible values are `Cost`, `Reliability`, `OperationalExcellence` and `Performance`. It is only allowed when `category` is `Recommendation`.
* `recommendation_category` - (Optional) The recommendation category of the event. Possible values are `Cost`, `Reliability`, `OperationalExcellence`, `HighAvailability` and `Performance`. It is only allowed when `category` is `Recommendation`.
* `recommendation_impact` - (Optional) The recommendation impact of the event. Possible values are `High`, `Medium` and `Low`. It is only allowed when `category` is `Recommendation`.
* `resource_health` - (Optional) A block to define fine grain resource health settings.
* `service_health` - (Optional) A block to define fine grain service health settings.
Expand Down