Skip to content

Commit 81711e3

Browse files
authored
Fix double to string
1 parent 3751cd8 commit 81711e3

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

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

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ author: harelbr
55
services: azure-monitor
66
ms.service: azure-monitor
77
ms.topic: conceptual
8-
ms.date: 1/14/2020
8+
ms.date: 2/17/2020
99
ms.author: harelbr
1010
ms.subservice: alerts
1111
---
@@ -101,8 +101,8 @@ Save the json below as simplestaticmetricalert.json for the purpose of this walk
101101
}
102102
},
103103
"threshold": {
104-
"type": "double",
105-
"defaultValue": 0,
104+
"type": "string",
105+
"defaultValue": "0",
106106
"metadata": {
107107
"description": "The threshold value at which the alert is activated."
108108
}
@@ -1651,8 +1651,8 @@ Save the json below as all-vms-in-resource-group-static.json for the purpose of
16511651
}
16521652
},
16531653
"threshold": {
1654-
"type": "double",
1655-
"defaultValue": 0,
1654+
"type": "string",
1655+
"defaultValue": "0",
16561656
"metadata": {
16571657
"description": "The threshold value at which the alert is activated."
16581658
}
@@ -2298,8 +2298,8 @@ Save the json below as all-vms-in-subscription-static.json for the purpose of th
22982298
}
22992299
},
23002300
"threshold": {
2301-
"type": "double",
2302-
"defaultValue": 0,
2301+
"type": "string",
2302+
"defaultValue": "0",
23032303
"metadata": {
23042304
"description": "The threshold value at which the alert is activated."
23052305
}
@@ -2940,8 +2940,8 @@ Save the json below as list-of-vms-static.json for the purpose of this walk-thro
29402940
}
29412941
},
29422942
"threshold": {
2943-
"type": "double",
2944-
"defaultValue": 0,
2943+
"type": "string",
2944+
"defaultValue": "0",
29452945
"metadata": {
29462946
"description": "The threshold value at which the alert is activated."
29472947
}

0 commit comments

Comments
 (0)