Skip to content

Commit fca5c75

Browse files
authored
[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
1 parent 6384b6c commit fca5c75

File tree

5 files changed

+7558
-0
lines changed

5 files changed

+7558
-0
lines changed
Lines changed: 137 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,137 @@
1+
{
2+
"parameters": {
3+
"resourceUri": "subscriptions/1f3fa6d2-851c-4a91-9087-1a050f3a9c38/resourceGroups/todking/providers/Microsoft.Storage/storageAccounts/tkfileserv/blobServices/default",
4+
"$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",
5+
"api-version": "2016-06-01"
6+
},
7+
"responses": {
8+
"200": {
9+
"body": {
10+
"value": [
11+
{
12+
"data": [
13+
{
14+
"timeStamp": "2021-04-21T10:37:00Z",
15+
"average": 78278.125
16+
},
17+
{
18+
"timeStamp": "2021-04-21T11:07:00Z"
19+
},
20+
{
21+
"timeStamp": "2021-04-21T11:37:00Z",
22+
"average": 78278.125
23+
},
24+
{
25+
"timeStamp": "2021-04-21T12:07:00Z"
26+
},
27+
{
28+
"timeStamp": "2021-04-21T12:37:00Z",
29+
"average": 78278.125
30+
},
31+
{
32+
"timeStamp": "2021-04-21T13:07:00Z"
33+
},
34+
{
35+
"timeStamp": "2021-04-21T13:37:00Z",
36+
"average": 78278.125
37+
},
38+
{
39+
"timeStamp": "2021-04-21T14:07:00Z"
40+
},
41+
{
42+
"timeStamp": "2021-04-21T14:37:00Z",
43+
"average": 78278.125
44+
},
45+
{
46+
"timeStamp": "2021-04-21T15:07:00Z"
47+
},
48+
{
49+
"timeStamp": "2021-04-21T15:37:00Z",
50+
"average": 78278.125
51+
},
52+
{
53+
"timeStamp": "2021-04-21T16:07:00Z"
54+
},
55+
{
56+
"timeStamp": "2021-04-21T16:37:00Z",
57+
"average": 78278.125
58+
},
59+
{
60+
"timeStamp": "2021-04-21T17:07:00Z"
61+
},
62+
{
63+
"timeStamp": "2021-04-21T17:37:00Z",
64+
"average": 78278.125
65+
},
66+
{
67+
"timeStamp": "2021-04-21T18:07:00Z"
68+
},
69+
{
70+
"timeStamp": "2021-04-21T18:37:00Z",
71+
"average": 78278.125
72+
},
73+
{
74+
"timeStamp": "2021-04-21T19:07:00Z"
75+
},
76+
{
77+
"timeStamp": "2021-04-21T19:37:00Z",
78+
"average": 78278.125
79+
},
80+
{
81+
"timeStamp": "2021-04-21T20:07:00Z"
82+
},
83+
{
84+
"timeStamp": "2021-04-21T20:37:00Z",
85+
"average": 78278.125
86+
},
87+
{
88+
"timeStamp": "2021-04-21T21:07:00Z"
89+
},
90+
{
91+
"timeStamp": "2021-04-21T21:37:00Z",
92+
"average": 78278.125
93+
},
94+
{
95+
"timeStamp": "2021-04-21T22:07:00Z"
96+
},
97+
{
98+
"timeStamp": "2021-04-21T22:37:00Z",
99+
"average": 78278.125
100+
},
101+
{
102+
"timeStamp": "2021-04-21T23:07:00Z"
103+
},
104+
{
105+
"timeStamp": "2021-04-21T23:37:00Z",
106+
"average": 78278.125
107+
},
108+
{
109+
"timeStamp": "2021-04-22T00:07:00Z"
110+
},
111+
{
112+
"timeStamp": "2021-04-22T00:37:00Z",
113+
"average": 78278.125
114+
},
115+
{
116+
"timeStamp": "2021-04-22T01:07:00Z"
117+
}
118+
],
119+
"id": "/subscriptions/1f3fa6d2-851c-4a91-9087-1a050f3a9c38/resourceGroups/todking/providers/Microsoft.Storage/storageAccounts/tkfileserv/blobServices/default/providers/Microsoft.Insights/metrics/BlobCapacity",
120+
"name": {
121+
"value": "BlobCapacity",
122+
"localizedValue": "Blob Capacity"
123+
},
124+
"type": "Microsoft.Insights/metrics",
125+
"unit": "1"
126+
}
127+
]
128+
}
129+
},
130+
"default": {
131+
"body": {
132+
"code": "BadRequest",
133+
"message": "only conditions of the form '<name> eq <value>' are allowed, where <name> = 'timeGrain', 'startTime', 'endTime', 'name.value', 'aggregationType', 'debugRegion' : invalid filter"
134+
}
135+
}
136+
}
137+
}

0 commit comments

Comments
 (0)