-
Notifications
You must be signed in to change notification settings - Fork 5.6k
[Hub Generated] Review request for Microsoft.Insights to add version stable/2018-03-01 #12231
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 8 commits
31b3f6e
ee5fe0e
a324955
5d5183d
53e6412
05828a8
581260d
6cb60ac
bee5cd2
57f1b8a
8b26648
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -319,7 +319,13 @@ | |
| }, | ||
| "204": { | ||
| "description": "No content: the request was successful, but the response is empty" | ||
| } | ||
| }, | ||
| "default": { | ||
| "description": "BadRequest", | ||
| "schema": { | ||
| "$ref": "../../stable/2016-03-01/alertRules_API.json#/definitions/ErrorResponse" | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It seems not a good practice to refer to another version (but as it is already done, there might not possible to fix within this version). Also the response schema is not correct as in LintDiff. It should have an error property, which then contains code and message.
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @weidongxu-microsoft right.
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. You can ignore the CI that without "required" label. They does not block the merge. As dotnet build, it appears from its log above, fails on some class as
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @weidongxu-microsoft cool, so is there anything that blocking me to merge this PR? Another thing, I've another PR (#12234) with some error about Swagger ApiDocPreview failed, should i fixed this or it's like the sdk?
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I tried to re-run ApiDocPreview CI in the other PR. Anyway this does not block. Both PR still have LintDiff, which blocks. I think perhaps the suppress is not done correctly. The correct one is perhaps
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is his github ID. Though I do not think it will be exempted. And monitor had the json https://github.com/Azure/azure-rest-api-specs/blob/master/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/operations_API.json, and it is used in current package-2019-06 tag.
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @weidongxu-microsoft I've 2 additional PRs that i want to merge, but experiencing the same model validations we had in the current PR,
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. For these you can also contact Arthur.
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. sure, will do.
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @weidongxu-microsoft talked with Ray and suppressed the modelValidation, can you please help me merge this one? |
||
| } | ||
| } | ||
| }, | ||
| "x-ms-examples": { | ||
| "Delete an alert rule": { | ||
|
|
@@ -475,7 +481,6 @@ | |
| "MetricAlertProperties": { | ||
| "required": [ | ||
| "enabled", | ||
| "description", | ||
| "severity", | ||
| "evaluationFrequency", | ||
| "windowSize", | ||
|
|
@@ -488,6 +493,7 @@ | |
| }, | ||
| "severity": { | ||
| "type": "integer", | ||
| "format": "int32", | ||
| "description": "Alert severity {0, 1, 2, 3, 4}" | ||
| }, | ||
| "enabled": { | ||
|
|
@@ -832,6 +838,7 @@ | |
| "description": "Namespace of the metric." | ||
| }, | ||
| "timeAggregation": { | ||
| "type": "string", | ||
| "enum": [ | ||
| "Average", | ||
| "Count", | ||
|
|
@@ -840,7 +847,7 @@ | |
| "Total" | ||
| ], | ||
| "x-ms-enum": { | ||
| "name": "AggregationType", | ||
| "name": "AggregationTypeEnum", | ||
| "modelAsString": true | ||
| }, | ||
| "description": "the criteria time aggregation types." | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.