From 119d0a9b2e51ce8b6540bf731512229e1a983069 Mon Sep 17 00:00:00 2001 From: Raymond Ononiwu <1130119+rononiwu@users.noreply.github.com> Date: Wed, 26 May 2021 08:50:25 -0700 Subject: [PATCH] =?UTF-8?q?Modified=20swagger=20to=20add=20'supportedAggre?= =?UTF-8?q?gationType',=20'lockedAggredatio=E2=80=A6=20(#13777)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 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 --- .../preview/2021-03-01-preview/proxy.json | 54 +++++++++++++++++++ 1 file changed, 54 insertions(+) diff --git a/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2021-03-01-preview/proxy.json b/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2021-03-01-preview/proxy.json index fe4299fafc8b..c0e1b3c19157 100644 --- a/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2021-03-01-preview/proxy.json +++ b/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2021-03-01-preview/proxy.json @@ -256,6 +256,44 @@ "description": "Only provide one value for this field. Valid values: Average, Minimum, Maximum, Total, Count.", "type": "string" }, + "supportedAggregationTypes": { + "description": "Supported aggregation types. Valid values: Average, Minimum, Maximum, Total, Count.", + "type": "array", + "items": { + "$ref": "#/definitions/AggregationType" + } + }, + "supportedTimeGrainTypes": { + "description": "Supported time grains. Valid values: PT1M, PT5M, PT15M, PT30M, PT1H, PT6H, PT12H, P1D", + "type": "array", + "items": { + "$ref": "#/definitions/TimeGrainType" + } + }, + "enableRegionalMdmAccount": { + "description": "Flag to indicate use of regional Mdm accounts", + "type": "boolean" + }, + "sourceMdmAccount": { + "description": "Source mdm account", + "type": "string" + }, + "sourceMdmNamespace": { + "description": "Source mdm namespace", + "type": "string" + }, + "metricFilterPattern": { + "description": "Metric filter regex pattern", + "type": "string" + }, + "fillGapWithZero": { + "description": "Flag to determine is Zero is returned for time duration where no metric is emitted", + "type": "boolean" + }, + "category": { + "description": "Metric category", + "type": "string" + }, "internalMetricName": { "description": "Internal metric name.", "type": "string" @@ -267,9 +305,21 @@ "items": { "$ref": "#/definitions/MetricDimension" } + }, + "lockedAggregationType": { + "description": "Locked aggregation type of the metric", + "type": "string" } } }, + "AggregationType": { + "description": "Only provide one value for this field. Valid values: Average, Minimum, Maximum, Total, Count.", + "type": "string" + }, + "TimeGrainType": { + "description": "The time grain of the metric", + "type": "string" + }, "MetricDimension": { "description": "Specifications of the Dimension of metrics", "type": "object", @@ -285,6 +335,10 @@ "internalName": { "description": "Internal name of the dimension.", "type": "string" + }, + "toBeExportedForShoebox": { + "description": "Flag to indicate export for Shoebox", + "type": "boolean" } } },