Skip to content

Commit

Permalink
[Hub Generated] Review request for Microsoft.Insights to add version …
Browse files Browse the repository at this point in the history
…stable/2021-08-01 (Azure#17174)

* Fixed type of Severity

* Added missing required  x-ms-identifiers in arrays

Co-authored-by: Avi Jerafi <[email protected]>
  • Loading branch information
2 people authored and FredericHeem committed Mar 7, 2022
1 parent da75158 commit 4455f20
Showing 1 changed file with 11 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -352,14 +352,15 @@
"description": "The display name of the alert rule"
},
"severity": {
"type": "number",
"type": "integer",
"format": "int64",
"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.",
"enum": [
"0",
"1",
"2",
"3",
"4"
0,
1,
2,
3,
4
],
"x-ms-enum": {
"name": "AlertSeverity",
Expand Down Expand Up @@ -524,7 +525,8 @@
"description": "A list of conditions to evaluate against the specified scopes",
"items": {
"$ref": "#/definitions/Condition"
}
},
"x-ms-identifiers": []
}
}
},
Expand Down Expand Up @@ -564,7 +566,8 @@
"items": {
"$ref": "#/definitions/Dimension"
},
"description": "List of Dimensions conditions"
"description": "List of Dimensions conditions",
"x-ms-identifiers": []
},
"operator": {
"type": "string",
Expand Down

0 comments on commit 4455f20

Please sign in to comment.