Skip to content

Commit 119d0a9

Browse files
rononiwuraonon
andauthored
Modified swagger to add 'supportedAggregationType', 'lockedAggredatio… (#13777)
* Modified swagger to add 'supportedAggregationType', 'lockedAggredationType', 'toBeExportedForShoebox' properties to the metric specifications * Fixed issues with prettier * Included items property for supportedAggregationType * Included missing metric specification properties * Fixed typo * Included aggregation type * Ran prettier Co-authored-by: Raymond Ononiwu <[email protected]>
1 parent 3ce916b commit 119d0a9

File tree

1 file changed

+54
-0
lines changed
  • specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2021-03-01-preview

1 file changed

+54
-0
lines changed

specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2021-03-01-preview/proxy.json

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,44 @@
256256
"description": "Only provide one value for this field. Valid values: Average, Minimum, Maximum, Total, Count.",
257257
"type": "string"
258258
},
259+
"supportedAggregationTypes": {
260+
"description": "Supported aggregation types. Valid values: Average, Minimum, Maximum, Total, Count.",
261+
"type": "array",
262+
"items": {
263+
"$ref": "#/definitions/AggregationType"
264+
}
265+
},
266+
"supportedTimeGrainTypes": {
267+
"description": "Supported time grains. Valid values: PT1M, PT5M, PT15M, PT30M, PT1H, PT6H, PT12H, P1D",
268+
"type": "array",
269+
"items": {
270+
"$ref": "#/definitions/TimeGrainType"
271+
}
272+
},
273+
"enableRegionalMdmAccount": {
274+
"description": "Flag to indicate use of regional Mdm accounts",
275+
"type": "boolean"
276+
},
277+
"sourceMdmAccount": {
278+
"description": "Source mdm account",
279+
"type": "string"
280+
},
281+
"sourceMdmNamespace": {
282+
"description": "Source mdm namespace",
283+
"type": "string"
284+
},
285+
"metricFilterPattern": {
286+
"description": "Metric filter regex pattern",
287+
"type": "string"
288+
},
289+
"fillGapWithZero": {
290+
"description": "Flag to determine is Zero is returned for time duration where no metric is emitted",
291+
"type": "boolean"
292+
},
293+
"category": {
294+
"description": "Metric category",
295+
"type": "string"
296+
},
259297
"internalMetricName": {
260298
"description": "Internal metric name.",
261299
"type": "string"
@@ -267,9 +305,21 @@
267305
"items": {
268306
"$ref": "#/definitions/MetricDimension"
269307
}
308+
},
309+
"lockedAggregationType": {
310+
"description": "Locked aggregation type of the metric",
311+
"type": "string"
270312
}
271313
}
272314
},
315+
"AggregationType": {
316+
"description": "Only provide one value for this field. Valid values: Average, Minimum, Maximum, Total, Count.",
317+
"type": "string"
318+
},
319+
"TimeGrainType": {
320+
"description": "The time grain of the metric",
321+
"type": "string"
322+
},
273323
"MetricDimension": {
274324
"description": "Specifications of the Dimension of metrics",
275325
"type": "object",
@@ -285,6 +335,10 @@
285335
"internalName": {
286336
"description": "Internal name of the dimension.",
287337
"type": "string"
338+
},
339+
"toBeExportedForShoebox": {
340+
"description": "Flag to indicate export for Shoebox",
341+
"type": "boolean"
288342
}
289343
}
290344
},

0 commit comments

Comments
 (0)