Skip to content

Commit c3a5989

Browse files
authored
Update ARM schema version
@AbbyMSFT - FYI
1 parent a7af2d8 commit c3a5989

File tree

1 file changed

+27
-27
lines changed

1 file changed

+27
-27
lines changed

articles/azure-monitor/alerts/alerts-metric-create-templates.md

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ author: harelbr
55
ms.author: harelbr
66
services: azure-monitor
77
ms.topic: conceptual
8-
ms.date: 2/23/2022
8+
ms.date: 4/4/2022
99
ms.custom: devx-track-azurepowershell
1010
---
1111
# Create a metric alert with a Resource Manager template
@@ -32,7 +32,7 @@ Save the json below as simplestaticmetricalert.json for the purpose of this walk
3232

3333
```json
3434
{
35-
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
35+
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
3636
"contentVersion": "1.0.0.0",
3737
"parameters": {
3838
"alertName": {
@@ -205,7 +205,7 @@ Save the json below as simplestaticmetricalert.parameters.json and modify it as
205205

206206
```json
207207
{
208-
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#",
208+
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#",
209209
"contentVersion": "1.0.0.0",
210210
"parameters": {
211211
"alertName": {
@@ -280,7 +280,7 @@ Save the json below as simpledynamicmetricalert.json for the purpose of this wal
280280

281281
```json
282282
{
283-
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
283+
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
284284
"contentVersion": "1.0.0.0",
285285
"parameters": {
286286
"alertName": {
@@ -478,7 +478,7 @@ Save the json below as simpledynamicmetricalert.parameters.json and modify it as
478478

479479
```json
480480
{
481-
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#",
481+
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#",
482482
"contentVersion": "1.0.0.0",
483483
"parameters": {
484484
"alertName": {
@@ -568,7 +568,7 @@ Save the json below as advancedstaticmetricalert.json for the purpose of this wa
568568

569569
```json
570570
{
571-
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
571+
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
572572
"contentVersion": "1.0.0.0",
573573
"parameters": {
574574
"alertName": {
@@ -703,7 +703,7 @@ Save and modify the json below as advancedstaticmetricalert.parameters.json for
703703

704704
```json
705705
{
706-
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#",
706+
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#",
707707
"contentVersion": "1.0.0.0",
708708
"parameters": {
709709
"alertName": {
@@ -812,7 +812,7 @@ Save the json below as multidimensionalstaticmetricalert.json for the purpose of
812812

813813
```json
814814
{
815-
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
815+
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
816816
"contentVersion": "1.0.0.0",
817817
"parameters": {
818818
"alertName": {
@@ -939,7 +939,7 @@ Save and modify the json below as multidimensionalstaticmetricalert.parameters.j
939939

940940
```json
941941
{
942-
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#",
942+
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#",
943943
"contentVersion": "1.0.0.0",
944944
"parameters": {
945945
"alertName": {
@@ -1036,7 +1036,7 @@ Save the json below as advanceddynamicmetricalert.json for the purpose of this w
10361036

10371037
```json
10381038
{
1039-
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
1039+
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
10401040
"contentVersion": "1.0.0.0",
10411041
"parameters": {
10421042
"alertName": {
@@ -1158,7 +1158,7 @@ Save and modify the json below as advanceddynamicmetricalert.parameters.json for
11581158

11591159
```json
11601160
{
1161-
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#",
1161+
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#",
11621162
"contentVersion": "1.0.0.0",
11631163
"parameters": {
11641164
"alertName": {
@@ -1252,7 +1252,7 @@ Save the json below as customstaticmetricalert.json for the purpose of this walk
12521252

12531253
```json
12541254
{
1255-
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
1255+
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
12561256
"contentVersion": "1.0.0.0",
12571257
"parameters": {
12581258
"alertName": {
@@ -1431,7 +1431,7 @@ Save and modify the json below as customstaticmetricalert.parameters.json for th
14311431

14321432
```json
14331433
{
1434-
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#",
1434+
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#",
14351435
"contentVersion": "1.0.0.0",
14361436
"parameters": {
14371437
"alertName": {
@@ -1528,7 +1528,7 @@ Save the json below as all-vms-in-resource-group-static.json for the purpose of
15281528

15291529
```json
15301530
{
1531-
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
1531+
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
15321532
"contentVersion": "1.0.0.0",
15331533
"parameters": {
15341534
"alertName": {
@@ -1760,7 +1760,7 @@ Save and modify the json below as all-vms-in-resource-group-static.parameters.js
17601760

17611761
```json
17621762
{
1763-
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#",
1763+
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#",
17641764
"contentVersion": "1.0.0.0",
17651765
"parameters": {
17661766
"alertName": {
@@ -1839,7 +1839,7 @@ Save the json below as all-vms-in-resource-group-dynamic.json for the purpose of
18391839

18401840
```json
18411841
{
1842-
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
1842+
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
18431843
"contentVersion": "1.0.0.0",
18441844
"parameters": {
18451845
"alertName": {
@@ -2089,7 +2089,7 @@ Save and modify the json below as all-vms-in-resource-group-dynamic.parameters.j
20892089

20902090
```json
20912091
{
2092-
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#",
2092+
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#",
20932093
"contentVersion": "1.0.0.0",
20942094
"parameters": {
20952095
"alertName": {
@@ -2174,7 +2174,7 @@ Save the json below as all-vms-in-subscription-static.json for the purpose of th
21742174

21752175
```json
21762176
{
2177-
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
2177+
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
21782178
"contentVersion": "1.0.0.0",
21792179
"parameters": {
21802180
"alertName": {
@@ -2407,7 +2407,7 @@ Save and modify the json below as all-vms-in-subscription-static.parameters.json
24072407

24082408
```json
24092409
{
2410-
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#",
2410+
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#",
24112411
"contentVersion": "1.0.0.0",
24122412
"parameters": {
24132413
"alertName": {
@@ -2483,7 +2483,7 @@ Save the json below as all-vms-in-subscription-dynamic.json for the purpose of t
24832483

24842484
```json
24852485
{
2486-
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
2486+
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
24872487
"contentVersion": "1.0.0.0",
24882488
"parameters": {
24892489
"alertName": {
@@ -2733,7 +2733,7 @@ Save and modify the json below as all-vms-in-subscription-dynamic.parameters.jso
27332733

27342734
```json
27352735
{
2736-
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#",
2736+
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#",
27372737
"contentVersion": "1.0.0.0",
27382738
"parameters": {
27392739
"alertName": {
@@ -2815,7 +2815,7 @@ Save the json below as list-of-vms-static.json for the purpose of this walk-thro
28152815

28162816
```json
28172817
{
2818-
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
2818+
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
28192819
"contentVersion": "1.0.0.0",
28202820
"parameters": {
28212821
"alertName": {
@@ -3048,7 +3048,7 @@ Save and modify the json below as list-of-vms-static.parameters.json for the pur
30483048

30493049
```json
30503050
{
3051-
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#",
3051+
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#",
30523052
"contentVersion": "1.0.0.0",
30533053
"parameters": {
30543054
"alertName": {
@@ -3127,7 +3127,7 @@ Save the json below as list-of-vms-dynamic.json for the purpose of this walk-thr
31273127

31283128
```json
31293129
{
3130-
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
3130+
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
31313131
"contentVersion": "1.0.0.0",
31323132
"parameters": {
31333133
"alertName": {
@@ -3377,7 +3377,7 @@ Save and modify the json below as list-of-vms-dynamic.parameters.json for the pu
33773377

33783378
```json
33793379
{
3380-
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#",
3380+
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#",
33813381
"contentVersion": "1.0.0.0",
33823382
"parameters": {
33833383
"alertName": {
@@ -3463,7 +3463,7 @@ Save the json below as availabilityalert.json for the purpose of this walkthroug
34633463

34643464
```json
34653465
{
3466-
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
3466+
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
34673467
"contentVersion": "1.0.0.0",
34683468
"parameters": {
34693469
"appName": {
@@ -3571,7 +3571,7 @@ Save the json below as availabilityalert.parameters.json and modify it as requir
35713571

35723572
```json
35733573
{
3574-
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#",
3574+
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#",
35753575
"contentVersion": "1.0.0.0",
35763576
"parameters": {
35773577
"appName": {

0 commit comments

Comments
 (0)