-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Hub Generated] Review request for Microsoft.Insights to add version …
…stable/2016-06-01 (#14085) * Adds base for updating Microsoft.Insights from version stable/2016-09-01 to version 2016-06-01 * Updates readme * Updates API version in new specs and examples * Delete serviceDiagnosticsSettings_API.json * Delete createOrUpdateServiceDiagnosticSetting.json * Delete getServiceDiagnosticSetting.json * Delete updateServiceDiagnosticSetting.json * Delete GetMetricFiltered.json * Update GetMetric.json * Update metrics_API.json * Update readme.md * Update metrics_API.json Update casing of Microsoft.Insights * Update metrics_API.json Incorporate PR feedback to remove inline example and use common error response definition * Update GetMetric.json Fix formatting errors * Update readme.md Incorporate PR feedback * Create operations_API.json Add operations API * Create OperationList.json * Update readme.md Add operations API * Update readme.md Add suppressions for error response format due to it being a breaking change. * Update operations_API.json Fix spelling mistake * Update metrics_API.json Go back to common ErrorResponse format for Azure Monitor * Update metrics_API.json Address new lint errors * Update operations_API.json Fix new lint errors
- Loading branch information
1 parent
6384b6c
commit fca5c75
Showing
5 changed files
with
7,558 additions
and
0 deletions.
There are no files selected for viewing
137 changes: 137 additions & 0 deletions
137
...ion/monitor/resource-manager/Microsoft.Insights/stable/2016-06-01/examples/GetMetric.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,137 @@ | ||
{ | ||
"parameters": { | ||
"resourceUri": "subscriptions/1f3fa6d2-851c-4a91-9087-1a050f3a9c38/resourceGroups/todking/providers/Microsoft.Storage/storageAccounts/tkfileserv/blobServices/default", | ||
"$filter": "(name.value eq 'BlobCapacity') and aggregationType eq 'Average' and timeGrain eq duration'PT30M' and startTime eq 2021-04-21T10:37:24.0000028Z and endTime eq 2021-04-22T01:26:59.0000795Z", | ||
"api-version": "2016-06-01" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"data": [ | ||
{ | ||
"timeStamp": "2021-04-21T10:37:00Z", | ||
"average": 78278.125 | ||
}, | ||
{ | ||
"timeStamp": "2021-04-21T11:07:00Z" | ||
}, | ||
{ | ||
"timeStamp": "2021-04-21T11:37:00Z", | ||
"average": 78278.125 | ||
}, | ||
{ | ||
"timeStamp": "2021-04-21T12:07:00Z" | ||
}, | ||
{ | ||
"timeStamp": "2021-04-21T12:37:00Z", | ||
"average": 78278.125 | ||
}, | ||
{ | ||
"timeStamp": "2021-04-21T13:07:00Z" | ||
}, | ||
{ | ||
"timeStamp": "2021-04-21T13:37:00Z", | ||
"average": 78278.125 | ||
}, | ||
{ | ||
"timeStamp": "2021-04-21T14:07:00Z" | ||
}, | ||
{ | ||
"timeStamp": "2021-04-21T14:37:00Z", | ||
"average": 78278.125 | ||
}, | ||
{ | ||
"timeStamp": "2021-04-21T15:07:00Z" | ||
}, | ||
{ | ||
"timeStamp": "2021-04-21T15:37:00Z", | ||
"average": 78278.125 | ||
}, | ||
{ | ||
"timeStamp": "2021-04-21T16:07:00Z" | ||
}, | ||
{ | ||
"timeStamp": "2021-04-21T16:37:00Z", | ||
"average": 78278.125 | ||
}, | ||
{ | ||
"timeStamp": "2021-04-21T17:07:00Z" | ||
}, | ||
{ | ||
"timeStamp": "2021-04-21T17:37:00Z", | ||
"average": 78278.125 | ||
}, | ||
{ | ||
"timeStamp": "2021-04-21T18:07:00Z" | ||
}, | ||
{ | ||
"timeStamp": "2021-04-21T18:37:00Z", | ||
"average": 78278.125 | ||
}, | ||
{ | ||
"timeStamp": "2021-04-21T19:07:00Z" | ||
}, | ||
{ | ||
"timeStamp": "2021-04-21T19:37:00Z", | ||
"average": 78278.125 | ||
}, | ||
{ | ||
"timeStamp": "2021-04-21T20:07:00Z" | ||
}, | ||
{ | ||
"timeStamp": "2021-04-21T20:37:00Z", | ||
"average": 78278.125 | ||
}, | ||
{ | ||
"timeStamp": "2021-04-21T21:07:00Z" | ||
}, | ||
{ | ||
"timeStamp": "2021-04-21T21:37:00Z", | ||
"average": 78278.125 | ||
}, | ||
{ | ||
"timeStamp": "2021-04-21T22:07:00Z" | ||
}, | ||
{ | ||
"timeStamp": "2021-04-21T22:37:00Z", | ||
"average": 78278.125 | ||
}, | ||
{ | ||
"timeStamp": "2021-04-21T23:07:00Z" | ||
}, | ||
{ | ||
"timeStamp": "2021-04-21T23:37:00Z", | ||
"average": 78278.125 | ||
}, | ||
{ | ||
"timeStamp": "2021-04-22T00:07:00Z" | ||
}, | ||
{ | ||
"timeStamp": "2021-04-22T00:37:00Z", | ||
"average": 78278.125 | ||
}, | ||
{ | ||
"timeStamp": "2021-04-22T01:07:00Z" | ||
} | ||
], | ||
"id": "/subscriptions/1f3fa6d2-851c-4a91-9087-1a050f3a9c38/resourceGroups/todking/providers/Microsoft.Storage/storageAccounts/tkfileserv/blobServices/default/providers/Microsoft.Insights/metrics/BlobCapacity", | ||
"name": { | ||
"value": "BlobCapacity", | ||
"localizedValue": "Blob Capacity" | ||
}, | ||
"type": "Microsoft.Insights/metrics", | ||
"unit": "1" | ||
} | ||
] | ||
} | ||
}, | ||
"default": { | ||
"body": { | ||
"code": "BadRequest", | ||
"message": "only conditions of the form '<name> eq <value>' are allowed, where <name> = 'timeGrain', 'startTime', 'endTime', 'name.value', 'aggregationType', 'debugRegion' : invalid filter" | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.