From f10ea592929dbbb5b3467a1b01fdff7ff86f1f70 Mon Sep 17 00:00:00 2001 From: Sarangan Rajamanickam Date: Thu, 14 Mar 2019 14:13:00 -0700 Subject: [PATCH] Fix PolicyInsights code generation issue --- .../2018-07-01-preview/policyStates.json | 28 +++++++++---------- .../policyTrackedResources.json | 3 +- .../2018-07-01-preview/remediations.json | 3 +- 3 files changed, 18 insertions(+), 16 deletions(-) diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/policyStates.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/policyStates.json index 9195fd5a6021..6fa367e0a113 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/policyStates.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/policyStates.json @@ -146,7 +146,7 @@ "$ref": "#/parameters/policyStatesResourceParameter" }, { - "$ref": "#/parameters/subscriptionIdParameter" + "$ref": "#/parameters/subscriptionId" }, { "$ref": "#/parameters/apiVersionParameter" @@ -206,7 +206,7 @@ "$ref": "#/parameters/policyStatesSummaryResourceParameter" }, { - "$ref": "#/parameters/subscriptionIdParameter" + "$ref": "#/parameters/subscriptionId" }, { "$ref": "#/parameters/apiVersionParameter" @@ -252,7 +252,7 @@ "$ref": "#/parameters/policyStatesResourceParameter" }, { - "$ref": "#/parameters/subscriptionIdParameter" + "$ref": "#/parameters/subscriptionId" }, { "$ref": "#/parameters/resourceGroupNameParameter" @@ -310,7 +310,7 @@ "$ref": "#/parameters/policyStatesSummaryResourceParameter" }, { - "$ref": "#/parameters/subscriptionIdParameter" + "$ref": "#/parameters/subscriptionId" }, { "$ref": "#/parameters/resourceGroupNameParameter" @@ -467,7 +467,7 @@ "$ref": "#/parameters/policyStatesResourceParameter" }, { - "$ref": "#/parameters/subscriptionIdParameter" + "$ref": "#/parameters/subscriptionId" }, { "$ref": "#/parameters/authorizationNamespaceParameter" @@ -528,7 +528,7 @@ "$ref": "#/parameters/policyStatesSummaryResourceParameter" }, { - "$ref": "#/parameters/subscriptionIdParameter" + "$ref": "#/parameters/subscriptionId" }, { "$ref": "#/parameters/authorizationNamespaceParameter" @@ -580,7 +580,7 @@ "$ref": "#/parameters/policyStatesResourceParameter" }, { - "$ref": "#/parameters/subscriptionIdParameter" + "$ref": "#/parameters/subscriptionId" }, { "$ref": "#/parameters/authorizationNamespaceParameter" @@ -641,7 +641,7 @@ "$ref": "#/parameters/policyStatesSummaryResourceParameter" }, { - "$ref": "#/parameters/subscriptionIdParameter" + "$ref": "#/parameters/subscriptionId" }, { "$ref": "#/parameters/authorizationNamespaceParameter" @@ -693,7 +693,7 @@ "$ref": "#/parameters/policyStatesResourceParameter" }, { - "$ref": "#/parameters/subscriptionIdParameter" + "$ref": "#/parameters/subscriptionId" }, { "$ref": "#/parameters/authorizationNamespaceParameter" @@ -754,7 +754,7 @@ "$ref": "#/parameters/policyStatesSummaryResourceParameter" }, { - "$ref": "#/parameters/subscriptionIdParameter" + "$ref": "#/parameters/subscriptionId" }, { "$ref": "#/parameters/authorizationNamespaceParameter" @@ -806,7 +806,7 @@ "$ref": "#/parameters/policyStatesResourceParameter" }, { - "$ref": "#/parameters/subscriptionIdParameter" + "$ref": "#/parameters/subscriptionId" }, { "$ref": "#/parameters/resourceGroupNameParameter" @@ -870,7 +870,7 @@ "$ref": "#/parameters/policyStatesSummaryResourceParameter" }, { - "$ref": "#/parameters/subscriptionIdParameter" + "$ref": "#/parameters/subscriptionId" }, { "$ref": "#/parameters/resourceGroupNameParameter" @@ -1424,7 +1424,7 @@ "description": "Management group name.", "x-ms-parameter-location": "method" }, - "subscriptionIdParameter": { + "subscriptionId": { "name": "subscriptionId", "in": "path", "required": true, @@ -1498,7 +1498,7 @@ "in": "query", "required": true, "type": "string", - "description": "API version to use with the client requests.", + "description": "Client Api Version.", "x-ms-parameter-location": "client" }, "topParameter": { diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/policyTrackedResources.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/policyTrackedResources.json index 5d2fb40318e2..db31a40e2bea 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/policyTrackedResources.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/policyTrackedResources.json @@ -445,7 +445,8 @@ "in": "query", "required": true, "type": "string", - "description": "Client Api Version." + "description": "Client Api Version.", + "x-ms-parameter-location": "client" } } } diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/remediations.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/remediations.json index 70442559e554..147393e8034d 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/remediations.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/remediations.json @@ -1365,7 +1365,8 @@ "in": "query", "required": true, "type": "string", - "description": "Client Api Version." + "description": "Client Api Version.", + "x-ms-parameter-location": "client" } } }