Skip to content

Commit 588c25f

Browse files
committed
Learn Editor: Update resource-manager-alerts-metric.md
1 parent f3e3184 commit 588c25f

File tree

1 file changed

+41
-16
lines changed

1 file changed

+41
-16
lines changed

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

Lines changed: 41 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,30 @@ ms.custom: references_regions
1010
ms.reviewer: harelbr
1111
---
1212

13+
---
14+
title: Resource Manager template samples for metric alerts
15+
description: This article provides sample Resource Manager templates used to create metric alerts in Azure Monitor.
16+
author: AbbyMSFT
17+
services: azure-monitor
18+
ms.author: abbyweisberg
19+
ms.topic: sample
20+
ms.date: 02/16/2024
21+
ms.custom: references_regions
22+
ms.reviewer: harelbr
23+
---
24+
25+
---
26+
title: Resource Manager template samples for metric alerts
27+
description: This article provides sample Resource Manager templates used to create metric alerts in Azure Monitor.
28+
author: AbbyMSFT
29+
services: azure-monitor
30+
ms.author: abbyweisberg
31+
ms.topic: sample
32+
ms.date: 02/16/2024
33+
ms.custom: references_regions
34+
ms.reviewer: harelbr
35+
---
36+
1337
# Resource Manager template samples for metric alert rules in Azure Monitor
1438

1539
This article provides samples of using [Azure Resource Manager templates](../../azure-resource-manager/templates/syntax.md) to configure [metric alert rules](../alerts/alerts-metric-near-real-time.md) in Azure Monitor. Each sample includes a template file and a parameters file with sample values to provide to the template.
@@ -4911,22 +4935,23 @@ resource metricAlert 'Microsoft.Insights/metricAlerts@2018-03-01' = {
49114935
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
49124936
"contentVersion": "1.0.0.0",
49134937
"metadata": {
4914-
"parameters": {
4915-
"appName": {
4916-
"type": "string"
4917-
},
4918-
"pingURL": {
4919-
"type": "string"
4920-
},
4921-
"pingText": {
4922-
"type": "string",
4923-
"defaultValue": ""
4924-
},
4925-
"actionGroupId": {
4926-
"type": "string"
4927-
},
4928-
"location": {
4929-
"type": "string"
4938+
"parameters": {
4939+
"appName": {
4940+
"type": "string"
4941+
},
4942+
"pingURL": {
4943+
"type": "string"
4944+
},
4945+
"pingText": {
4946+
"type": "string",
4947+
"defaultValue": ""
4948+
},
4949+
"actionGroupId": {
4950+
"type": "string"
4951+
},
4952+
"location": {
4953+
"type": "string"
4954+
}
49304955
}
49314956
},
49324957
"variables": {

0 commit comments

Comments
 (0)