Skip to content

Commit 49f26f6

Browse files
committed
edits
1 parent 41abbbf commit 49f26f6

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,10 @@ You can use an [Azure Resource Manager template (ARM template)](../../azure-reso
4040
4141
1. Create a new resource, using the following resource types:
4242
- For metric alerts: `Microsoft.Insights/metricAlerts`
43-
> [!NOTE]
44-
> - Metric alerts for an Azure Log Analytics workspace resource type (`Microsoft.OperationalInsights/workspaces`) are configured differently than other metric alerts. For more information, see [Resource Template for Metric Alerts for Logs](alerts-metric-logs.md#resource-template-for-metric-alerts-for-logs).
45-
> - We recommend that you create the metric alert using the same resource group as your target resource.
46-
> - If you are creating a metric alert for a single resource, the template uses the `ResourceId` of the target resource. If you are creating a metric alert for multiple resources, the template uses the `scope`, `TargetResourceType`, and `TargetResourceRegion` for the target resources.
43+
> [!NOTE]
44+
> - We recommend that you create the metric alert using the same resource group as your target resource.
45+
> - Metric alerts for an Azure Log Analytics workspace resource type (`Microsoft.OperationalInsights/workspaces`) are configured differently than other metric alerts. For more information, see [Resource Template for Metric Alerts for Logs](alerts-metric-logs.md#resource-template-for-metric-alerts-for-logs).
46+
> - If you are creating a metric alert for a single resource, the template uses the `ResourceId` of the target resource. If you are creating a metric alert for multiple resources, the template uses the `scope`, `TargetResourceType`, and `TargetResourceRegion` for the target resources.
4747
- For log alerts: `Microsoft.Insights/scheduledQueryRules`
4848
- For activity log, service health, and resource health alerts: `microsoft.Insights/activityLogAlerts`
4949

articles/azure-monitor/alerts/resource-manager-alerts-metric.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1970,7 +1970,8 @@ This section will describe Azure Resource Manager templates for three scenarios
19701970

19711971
> [!NOTE]
19721972
>
1973-
> In a metric alert rule that monitors multiple resources, only one condition is allowed.
1973+
> - In a metric alert rule that monitors multiple resources, only one condition is allowed.
1974+
> - If you are creating a metric alert for a single resource, the template uses the `ResourceId` of the target resource. If you are creating a metric alert for multiple resources, the template uses the `scope`, `TargetResourceType`, and `TargetResourceRegion` for the target resources.
19741975
19751976
### Static threshold alert on all virtual machines in one or more resource groups
19761977

0 commit comments

Comments
 (0)