Skip to content

Commit

Permalink
BUG fix: Fixing type of MetricValue.Count to be double instead of the…
Browse files Browse the repository at this point in the history
… incorrect int64 it had before (Azure#6485)

* [Monitor] Make all attributes of EventData class readonly (Azure#2254)

* [Monitor] Fixing issue with metricnamespace specification as client level argument Azure#2565

* [Monitor] Fixing incorrect specification of top parameter for Metrics API (Azure#2655)

* Add two missing "by subscription" operations.

* Remove "examples" nodes as requested since they are not used anymore. Adding documentation to reduce number of warnings in validation.

* Add the serviceBusRuleId back into the DiagnosticSetting resource spec.

* Fix some issues with the examples

* [Monitor] Fix issue Azure#3585: revert previous commit since it is a breaking change

* Add unit "BitsPerSecond" to the metrics specs.

* Fixing workspace Id documentation

* Add the Log Analytics destination type flag to the Diagnostic Settings objects

* Fix a typo in a description

* Fixing type of MetricValue.Count to be double instead of the incorrect int64 it had before

* Fixing issue Azure#2467 In List Activity Logs $filter is not optional and it requires at least a start time.
  • Loading branch information
gucalder authored and celikcigdem committed Jul 17, 2019
1 parent c9a9cfe commit 5d62f51
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 136 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@
"name": "$filter",
"in": "query",
"type": "string",
"required": false,
"description": "Reduces the set of data collected.<br>The **$filter** argument is very restricted and allows only the following patterns.<br>- *List events for a resource group*: $filter=eventTimestamp ge '2014-07-16T04:36:37.6407898Z' and eventTimestamp le '2014-07-20T04:36:37.6407898Z' and resourceGroupName eq 'resourceGroupName'.<br>- *List events for resource*: $filter=eventTimestamp ge '2014-07-16T04:36:37.6407898Z' and eventTimestamp le '2014-07-20T04:36:37.6407898Z' and resourceUri eq 'resourceURI'.<br>- *List events for a subscription in a time range*: $filter=eventTimestamp ge '2014-07-16T04:36:37.6407898Z' and eventTimestamp le '2014-07-20T04:36:37.6407898Z'.<br>- *List events for a resource provider*: $filter=eventTimestamp ge '2014-07-16T04:36:37.6407898Z' and eventTimestamp le '2014-07-20T04:36:37.6407898Z' and resourceProvider eq 'resourceProviderName'.<br>- *List events for a correlation Id*: $filter=eventTimestamp ge '2014-07-16T04:36:37.6407898Z' and eventTimestamp le '2014-07-20T04:36:37.6407898Z' and correlationId eq 'correlationID'.<br><br>**NOTE**: No other syntax is allowed."
"required": true,
"description": "Reduces the set of data collected.<br>This argument is required and it also requires at least the start date/time.<br>The **$filter** argument is very restricted and allows only the following patterns.<br>- *List events for a resource group*: $filter=eventTimestamp ge '2014-07-16T04:36:37.6407898Z' and eventTimestamp le '2014-07-20T04:36:37.6407898Z' and resourceGroupName eq 'resourceGroupName'.<br>- *List events for resource*: $filter=eventTimestamp ge '2014-07-16T04:36:37.6407898Z' and eventTimestamp le '2014-07-20T04:36:37.6407898Z' and resourceUri eq 'resourceURI'.<br>- *List events for a subscription in a time range*: $filter=eventTimestamp ge '2014-07-16T04:36:37.6407898Z' and eventTimestamp le '2014-07-20T04:36:37.6407898Z'.<br>- *List events for a resource provider*: $filter=eventTimestamp ge '2014-07-16T04:36:37.6407898Z' and eventTimestamp le '2014-07-20T04:36:37.6407898Z' and resourceProvider eq 'resourceProviderName'.<br>- *List events for a correlation Id*: $filter=eventTimestamp ge '2014-07-16T04:36:37.6407898Z' and eventTimestamp le '2014-07-20T04:36:37.6407898Z' and correlationId eq 'correlationID'.<br><br>**NOTE**: No other syntax is allowed."
},
{
"$ref": "#/parameters/SelectParameter"
Expand Down Expand Up @@ -80,14 +80,8 @@
},
"x-ms-odata": "#/definitions/EventData",
"x-ms-examples": {
"Get Activity Logs without filter or select": {
"$ref": "./examples/GetActivityLogsNoParams.json"
},
"Get Activity Logs with filter": {
"$ref": "./examples/GetActivityLogsFiltered.json"
},
"Get Activity Logs with select": {
"$ref": "./examples/GetActivityLogsSelected.json"
"Get Activity Logs with filter": {
"$ref": "./examples/GetActivityLogsFiltered.json"
},
"Get Activity Logs with filter and select": {
"$ref": "./examples/GetActivityLogsFilteredAndSelected.json"
Expand Down

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -179,8 +179,8 @@
"description": "the sum of all of the values in the time range."
},
"count": {
"type": "integer",
"format": "int64",
"type": "number",
"format": "double",
"description": "the number of samples in the time range. Can be used to determine the number of values that contributed to the average value."
}
},
Expand Down

0 comments on commit 5d62f51

Please sign in to comment.