Skip to content

Commit

Permalink
{AzureAlertsManagement} fixes Azure#20090 (Azure#20104)
Browse files Browse the repository at this point in the history
fixes Azure#20090

https://learn.microsoft.com/en-us/powershell/module/az.alertsmanagement/set-azalertprocessingrule?view=azps-9.1.0

The Syntax parts of the page have a misnamed parameter.
AlertProcessingRuleRuleType is incorrect, whereas it should be AlertProcessingRuleType.
  • Loading branch information
navba-MSFT authored Nov 15, 2022
1 parent 94c2c5a commit 1cb1dd5
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Create or update an alert processing rule.

### BySimplifiedFormatSuppressionAlertProcessingRule (Default)
```
Set-AzAlertProcessingRule -ResourceGroupName <String> -Name <String> [-Description <String>] -AlertProcessingRuleRuleType <String>
Set-AzAlertProcessingRule -ResourceGroupName <String> -Name <String> [-Description <String>] -AlertProcessingRuleType <String>
-Scope <System.Collections.Generic.List`1[System.String]> -Enabled <String> [-Tag <Hashtable>]
[-FilterSeverity <String>] [-FilterMonitorService <String>] [-FilterMonitorCondition <String>] [-FilterTargetResourceType <String>]
[-FilterTargetResource <String>] [-FilterTargetResourceGroup <String>] [-FilterAlertRuleId <String>] [-FilterAlertRuleNam <String>]
Expand All @@ -29,7 +29,7 @@ Set-AzAlertProcessingRule -ResourceGroupName <String> -Name <String> [-Descripti

### BySimplifiedFormatActionGroupAlertProcessingRule
```
Set-AzAlertProcessingRule -ResourceGroupName <String> -Name <String> [-Description <String>] -AlertProcessingRuleRuleType <String>
Set-AzAlertProcessingRule -ResourceGroupName <String> -Name <String> [-Description <String>] -AlertProcessingRuleType <String>
-Scope <System.Collections.Generic.List`1[System.String]> -Enabled <String> [-Tag <Hashtable>]
[-FilterSeverity <String>] [-FilterMonitorService <String>] [-FilterMonitorCondition <String>] [-FilterTargetResourceType <String>]
[-FilterTargetResource <String>] [-FilterTargetResourceGroup <String>] [-FilterAlertRuleId <String>] [-FilterAlertRuleName <String>]
Expand Down

0 comments on commit 1cb1dd5

Please sign in to comment.