From 06fac6ef2e98d9f321735138125aef7598b28ddb Mon Sep 17 00:00:00 2001 From: gucalder Date: Thu, 1 Mar 2018 07:58:26 -0800 Subject: [PATCH] [Monitor] Fixing issue with metricsnamespace incorrecly specified as client level argument #2565 (#2566) * [Monitor] Make all attributes of EventData class readonly (#2254) * [Monitor] Fixing issue with metricnamespace specification as client level argument #2565 --- .../stable/2018-01-01/metricDefinitions_API.json | 5 +++-- .../microsoft.insights/stable/2018-01-01/metrics_API.json | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/specification/monitor/resource-manager/microsoft.insights/stable/2018-01-01/metricDefinitions_API.json b/specification/monitor/resource-manager/microsoft.insights/stable/2018-01-01/metricDefinitions_API.json index 4ce7202cc364..a497924351d5 100644 --- a/specification/monitor/resource-manager/microsoft.insights/stable/2018-01-01/metricDefinitions_API.json +++ b/specification/monitor/resource-manager/microsoft.insights/stable/2018-01-01/metricDefinitions_API.json @@ -242,12 +242,13 @@ "x-ms-parameter-location": "method", "x-ms-skip-url-encoding": true }, - "MetricNamespaceParameter": { + "MetricNamespaceParameter": { "name": "metricnamespace", "in": "query", "required": false, "type": "string", - "description": "Metric namespace to query metric definitions for." + "description": "Metric namespace to query metric definitions for.", + "x-ms-parameter-location": "method" } } } \ No newline at end of file diff --git a/specification/monitor/resource-manager/microsoft.insights/stable/2018-01-01/metrics_API.json b/specification/monitor/resource-manager/microsoft.insights/stable/2018-01-01/metrics_API.json index acfc986094db..85f933cb038c 100644 --- a/specification/monitor/resource-manager/microsoft.insights/stable/2018-01-01/metrics_API.json +++ b/specification/monitor/resource-manager/microsoft.insights/stable/2018-01-01/metrics_API.json @@ -372,12 +372,13 @@ "type": "string", "description": "Client Api Version." }, - "MetricNamespaceParameter": { + "MetricNamespaceParameter": { "name": "metricnamespace", "in": "query", "required": false, "type": "string", - "description": "Metric namespace to query metric definitions for." + "description": "Metric namespace to query metric definitions for.", + "x-ms-parameter-location": "method" } } } \ No newline at end of file