From 6096ca98b11ba73ccfabd81205a0be514c8fe8fd Mon Sep 17 00:00:00 2001 From: Dapeng Zhang Date: Sat, 10 Oct 2020 11:24:35 +0800 Subject: [PATCH 1/6] Add new api-version in go SDK for operationalinsights --- .../operationalinsights/resource-manager/readme.go.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/specification/operationalinsights/resource-manager/readme.go.md b/specification/operationalinsights/resource-manager/readme.go.md index e1fe11bf0104..eed49f2b4926 100644 --- a/specification/operationalinsights/resource-manager/readme.go.md +++ b/specification/operationalinsights/resource-manager/readme.go.md @@ -15,6 +15,7 @@ go: batch: - tag: package-2015-03 - tag: package-2015-11-preview + - tag: package-2019-08-preview - tag: package-2020-03-preview - tag: package-2020-08 ``` @@ -28,6 +29,15 @@ Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2019-08-preview' && $(go) +output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2019-08-01-preview/$(namespace) +``` + ### Tag: package-2015-11-preview and go These settings apply only when `--tag=package-2015-11-preview --go` is specified on the command line. From 6f747ba354d83f308abedc86e57c7249726f09cc Mon Sep 17 00:00:00 2001 From: Dapeng Zhang Date: Thu, 15 Oct 2020 15:20:30 +0800 Subject: [PATCH 2/6] Trying to resolve the modeler error --- .../preview/2019-08-01-preview/OperationalInsights.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2019-08-01-preview/OperationalInsights.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2019-08-01-preview/OperationalInsights.json index 2a01a76827ae..1daa0d3de8ed 100644 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2019-08-01-preview/OperationalInsights.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2019-08-01-preview/OperationalInsights.json @@ -637,7 +637,7 @@ "in": "path", "required": true, "type": "string", - "description": "The workspace's resource subscription ID." + "description": "Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call." }, "ApiVersionParameter": { "name": "api-version", From 26aca7a353bb1bf550a77e231ece0e45dbb94aab Mon Sep 17 00:00:00 2001 From: Dapeng Zhang Date: Thu, 15 Oct 2020 15:27:06 +0800 Subject: [PATCH 3/6] unify another description --- .../preview/2019-08-01-preview/OperationalInsights.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2019-08-01-preview/OperationalInsights.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2019-08-01-preview/OperationalInsights.json index 1daa0d3de8ed..6ac4f0c7d222 100644 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2019-08-01-preview/OperationalInsights.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2019-08-01-preview/OperationalInsights.json @@ -644,7 +644,7 @@ "in": "query", "required": true, "type": "string", - "description": "The client API version." + "description": "Client Api version." }, "ResourceGroupNameParameter": { "name": "resourceGroupName", From ebc61acc0bf9c8f7d02a5ce39be185575323c12b Mon Sep 17 00:00:00 2001 From: Dapeng Zhang Date: Thu, 15 Oct 2020 15:34:56 +0800 Subject: [PATCH 4/6] Fix modeler issue --- .../preview/2019-08-01-preview/OperationalInsights.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2019-08-01-preview/OperationalInsights.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2019-08-01-preview/OperationalInsights.json index 6ac4f0c7d222..3a3883243887 100644 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2019-08-01-preview/OperationalInsights.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2019-08-01-preview/OperationalInsights.json @@ -644,7 +644,7 @@ "in": "query", "required": true, "type": "string", - "description": "Client Api version." + "description": "Client Api Version." }, "ResourceGroupNameParameter": { "name": "resourceGroupName", From 59c319b374f43822fa99bcfccbba14ae650b7f13 Mon Sep 17 00:00:00 2001 From: Dapeng Zhang Date: Thu, 15 Oct 2020 16:38:47 +0800 Subject: [PATCH 5/6] Fix another description --- .../preview/2019-08-01-preview/OperationalInsights.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2019-08-01-preview/OperationalInsights.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2019-08-01-preview/OperationalInsights.json index 3a3883243887..c425a81900fd 100644 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2019-08-01-preview/OperationalInsights.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2019-08-01-preview/OperationalInsights.json @@ -652,7 +652,7 @@ "required": true, "type": "string", "x-ms-parameter-location": "method", - "description": "The workspace's resource group name.", + "description": "The name of the resource group to get. The name is case insensitive.", "pattern": "^[-\\w\\._\\(\\)]+$", "minLength": 1, "maxLength": 90 From 6cd69b45480a407e866640b0b9e0d53758cd4219 Mon Sep 17 00:00:00 2001 From: Dapeng Zhang Date: Thu, 15 Oct 2020 17:13:39 +0800 Subject: [PATCH 6/6] change some statement --- .../preview/2019-08-01-preview/Clusters.json | 2 +- .../preview/2019-08-01-preview/LinkedServices.json | 2 +- .../preview/2019-08-01-preview/OperationalInsights.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2019-08-01-preview/Clusters.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2019-08-01-preview/Clusters.json index 197cfe9edba2..d04ee8c192f6 100644 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2019-08-01-preview/Clusters.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2019-08-01-preview/Clusters.json @@ -581,7 +581,7 @@ "in": "query", "required": true, "type": "string", - "description": "Client Api Version." + "description": "The client API version." }, "ResourceGroupNameParameter": { "name": "resourceGroupName", diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2019-08-01-preview/LinkedServices.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2019-08-01-preview/LinkedServices.json index 745bc549f03b..d34b30b8e4b5 100644 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2019-08-01-preview/LinkedServices.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2019-08-01-preview/LinkedServices.json @@ -309,7 +309,7 @@ "in": "query", "required": true, "type": "string", - "description": "Client Api Version." + "description": "The client API version." }, "ResourceGroupNameParameter": { "name": "resourceGroupName", diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2019-08-01-preview/OperationalInsights.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2019-08-01-preview/OperationalInsights.json index c425a81900fd..e025c56880fb 100644 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2019-08-01-preview/OperationalInsights.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2019-08-01-preview/OperationalInsights.json @@ -644,7 +644,7 @@ "in": "query", "required": true, "type": "string", - "description": "Client Api Version." + "description": "The client API version." }, "ResourceGroupNameParameter": { "name": "resourceGroupName",