diff --git a/specification/monitor/resource-manager/microsoft.insights/stable/2016-09-01/metrics_API.json b/specification/monitor/resource-manager/microsoft.insights/stable/2016-09-01/metrics_API.json index 88d7c33ef9f3..061139f29e94 100644 --- a/specification/monitor/resource-manager/microsoft.insights/stable/2016-09-01/metrics_API.json +++ b/specification/monitor/resource-manager/microsoft.insights/stable/2016-09-01/metrics_API.json @@ -42,7 +42,7 @@ "description": "Lists the metric values for a resource.", "parameters": [ { - "$ref": "#/parameters/ResourceUriParameter" + "$ref": "./serviceDiagnosticsSettings_API.json#/parameters/ResourceUriParameter" }, { "name": "$filter", @@ -265,15 +265,6 @@ "required": true, "type": "string", "description": "Client Api Version." - }, - "ResourceUriParameter": { - "name": "resourceUri", - "in": "path", - "required": true, - "type": "string", - "description": "The identifier of the resource.", - "x-ms-parameter-location": "method", - "x-ms-skip-url-encoding": true } } } diff --git a/specification/monitor/resource-manager/microsoft.insights/stable/2016-09-01/serviceDiagnosticsSettings_API.json b/specification/monitor/resource-manager/microsoft.insights/stable/2016-09-01/serviceDiagnosticsSettings_API.json index a5a55eb54865..4918d221fd0f 100644 --- a/specification/monitor/resource-manager/microsoft.insights/stable/2016-09-01/serviceDiagnosticsSettings_API.json +++ b/specification/monitor/resource-manager/microsoft.insights/stable/2016-09-01/serviceDiagnosticsSettings_API.json @@ -398,7 +398,8 @@ "required": true, "type": "string", "description": "The identifier of the resource.", - "x-ms-parameter-location": "method" + "x-ms-parameter-location": "method", + "x-ms-skip-url-encoding": true } } }