Skip to content

Commit

Permalink
Update swagger for Azure Monitor metrics query (Azure#14609)
Browse files Browse the repository at this point in the history
* Update swaggers for logs and metrics queries

* Update version

* add missing fields

* include statistics

* include statistics

* statistics in log query result

* Include metrics namespace param

* Update title and client name

* Include namespace param

* Add namespace and region

* Fix top and orderby query params

* Fix linting errors

* Update security to oauth2

* Remove logs query changes

* Update 2018-01-01 version and revert 2017-05-01-preview
  • Loading branch information
srnagar authored and mkarmark committed Jul 20, 2021
1 parent a99455e commit e342eb2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
"swagger": "2.0",
"info": {
"title": "MonitorManagementClient",
"x-ms-code-generation-settings": {
"name": "MonitorManagementClient"
},
"version": "2017-12-01-preview"
},
"host": "management.azure.com",
Expand Down Expand Up @@ -99,7 +96,7 @@
],
"x-ms-enum": {
"name": "NamespaceClassification",
"modelAsString": false
"modelAsString": true
}
},
"MetricNamespace": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,8 @@
"BitsPerSecond"
],
"x-ms-enum": {
"name": "Unit",
"modelAsString": false
"name": "MetricUnit",
"modelAsString": true
}
},
"AggregationType": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
"swagger": "2.0",
"info": {
"title": "MonitorManagementClient",
"x-ms-code-generation-settings": {
"name": "MonitorManagementClient"
},
"version": "2018-01-01"
},
"host": "management.azure.com",
Expand Down Expand Up @@ -144,8 +141,8 @@
"BitsPerSecond"
],
"x-ms-enum": {
"name": "Unit",
"modelAsString": false
"name": "MetricUnit",
"modelAsString": true
}
},
"MetricValue": {
Expand Down

0 comments on commit e342eb2

Please sign in to comment.