Skip to content

Commit def2daa

Browse files
Merge pull request #281712 from yairgil/patch-16
Update alerts-create-rule-cli-powershell-arm.md
2 parents 9a29ef4 + b3901f7 commit def2daa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/azure-monitor/alerts/alerts-create-rule-cli-powershell-arm.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ You can create a new alert rule using the [Azure CLI](/cli/azure/get-started-wit
3434
> [!NOTE]
3535
> When you create a metric alert on a single resource, the syntax uses the `TargetResourceId`. When you create a metric alert on multiple resources, the syntax contains the `TargetResourceScope`, `TargetResourceType`, and `TargetResourceRegion`.
3636
- To create a log search alert rule using PowerShell, use the [New-AzScheduledQueryRule](/powershell/module/az.monitor/new-azscheduledqueryrule) cmdlet.
37-
- To create an activity log alert rule using PowerShell, use the [Set-AzActivityLogAlert](/powershell/module/az.monitor/set-azactivitylogalert) cmdlet.
37+
- To create an activity log alert rule using PowerShell, use the [New-AzActivityLogAlert](/powershell/module/az.monitor/new-azactivitylogalert) cmdlet.
3838
3939
## Create a new alert rule using an ARM template
4040

0 commit comments

Comments
 (0)