Skip to content

Commit 9be7287

Browse files
avjerafiAvi Jerafi
andauthored
[Hub Generated] Review request for Microsoft.Insights to add version stable/2021-08-01 (#17174)
* Fixed type of Severity * Added missing required x-ms-identifiers in arrays Co-authored-by: Avi Jerafi <[email protected]>
1 parent 8c78db0 commit 9be7287

File tree

1 file changed

+11
-8
lines changed

1 file changed

+11
-8
lines changed

specification/monitor/resource-manager/Microsoft.Insights/stable/2021-08-01/scheduledQueryRule_API.json

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -352,14 +352,15 @@
352352
"description": "The display name of the alert rule"
353353
},
354354
"severity": {
355-
"type": "number",
355+
"type": "integer",
356+
"format": "int64",
356357
"description": "Severity of the alert. Should be an integer between [0-4]. Value of 0 is severest. Relevant and required only for rules of the kind LogAlert.",
357358
"enum": [
358-
"0",
359-
"1",
360-
"2",
361-
"3",
362-
"4"
359+
0,
360+
1,
361+
2,
362+
3,
363+
4
363364
],
364365
"x-ms-enum": {
365366
"name": "AlertSeverity",
@@ -524,7 +525,8 @@
524525
"description": "A list of conditions to evaluate against the specified scopes",
525526
"items": {
526527
"$ref": "#/definitions/Condition"
527-
}
528+
},
529+
"x-ms-identifiers": []
528530
}
529531
}
530532
},
@@ -564,7 +566,8 @@
564566
"items": {
565567
"$ref": "#/definitions/Dimension"
566568
},
567-
"description": "List of Dimensions conditions"
569+
"description": "List of Dimensions conditions",
570+
"x-ms-identifiers": []
568571
},
569572
"operator": {
570573
"type": "string",

0 commit comments

Comments
 (0)