From f34926a72f181977cdb659c6c8a7d07819d434cb Mon Sep 17 00:00:00 2001 From: Prasanna Padmanabhan Date: Fri, 9 Feb 2018 17:14:06 -0800 Subject: [PATCH 1/4] Adding x-ms-pageable tag for configuration list command. --- .../Microsoft.Advisor/stable/2017-04-19/advisor.json | 3 +++ specification/advisor/resource-manager/readme.md | 1 + 2 files changed, 4 insertions(+) diff --git a/specification/advisor/resource-manager/Microsoft.Advisor/stable/2017-04-19/advisor.json b/specification/advisor/resource-manager/Microsoft.Advisor/stable/2017-04-19/advisor.json index 13e22fe36511..251e28ded1f1 100644 --- a/specification/advisor/resource-manager/Microsoft.Advisor/stable/2017-04-19/advisor.json +++ b/specification/advisor/resource-manager/Microsoft.Advisor/stable/2017-04-19/advisor.json @@ -41,6 +41,9 @@ } }, "deprecated": false, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, "x-ms-examples": { "GetConfigurations": { "$ref": "./examples/ListConfigurations.json" diff --git a/specification/advisor/resource-manager/readme.md b/specification/advisor/resource-manager/readme.md index c1e6c5db7157..9dbf174379d3 100644 --- a/specification/advisor/resource-manager/readme.md +++ b/specification/advisor/resource-manager/readme.md @@ -89,6 +89,7 @@ python: payload-flattening-threshold: 2 namespace: azure.mgmt.advisor package-name: azure-mgmt-advisor + package-version: 1.0.1 clear-output-folder: true ``` ``` yaml $(python) && $(python-mode) == 'update' From 1ec330214b55eb6c3be840618d37b3d3266e194c Mon Sep 17 00:00:00 2001 From: Prasanna Padmanabhan Date: Mon, 12 Feb 2018 15:21:22 -0800 Subject: [PATCH 2/4] Add x-ms-pageable for list configuration by resource group operation. --- .../Microsoft.Advisor/stable/2017-04-19/advisor.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/specification/advisor/resource-manager/Microsoft.Advisor/stable/2017-04-19/advisor.json b/specification/advisor/resource-manager/Microsoft.Advisor/stable/2017-04-19/advisor.json index 251e28ded1f1..7152849a9018 100644 --- a/specification/advisor/resource-manager/Microsoft.Advisor/stable/2017-04-19/advisor.json +++ b/specification/advisor/resource-manager/Microsoft.Advisor/stable/2017-04-19/advisor.json @@ -124,6 +124,9 @@ } }, "deprecated": false, + "x-ms-pageable": { + "nextLinkName": null + }, "x-ms-examples": { "GetConfigurations": { "$ref": "./examples/ListConfigurations.json" From 8f325f540f597ae184379bed0676e8cdfd42039f Mon Sep 17 00:00:00 2001 From: Prasanna-Padmanabhan <31525198+Prasanna-Padmanabhan@users.noreply.github.com> Date: Mon, 11 Jun 2018 14:23:56 -0700 Subject: [PATCH 3/4] Add C# settings --- specification/advisor/resource-manager/readme.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/specification/advisor/resource-manager/readme.md b/specification/advisor/resource-manager/readme.md index 89c503eeb790..1aebf97bfa6d 100644 --- a/specification/advisor/resource-manager/readme.md +++ b/specification/advisor/resource-manager/readme.md @@ -105,6 +105,22 @@ python: ``` +## C# + +These settings apply only when `--csharp` is specified on the command line. +Please also specify `--csharp-sdks-folder=`. + +``` yaml $(csharp) +csharp: + azure-arm: true + payload-flattening-threshold: 1 + license-header: MICROSOFT_MIT_NO_VERSION + namespace: Microsoft.Azure.Management.Advisor + output-folder: $(csharp-sdks-folder)/Advisor/Management.Advisor/Generated + clear-output-folder: true +``` + + ## Go These settings apply only when `--go` is specified on the command line. From a3db9ba57ede1858830cee525cf8f2bb9124e143 Mon Sep 17 00:00:00 2001 From: Prasanna-Padmanabhan <31525198+Prasanna-Padmanabhan@users.noreply.github.com> Date: Fri, 15 Jun 2018 17:07:18 -0700 Subject: [PATCH 4/4] Remove wrong tag --- .../Microsoft.Advisor/stable/2017-04-19/advisor.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/specification/advisor/resource-manager/Microsoft.Advisor/stable/2017-04-19/advisor.json b/specification/advisor/resource-manager/Microsoft.Advisor/stable/2017-04-19/advisor.json index 7152849a9018..4cf32f6e6803 100644 --- a/specification/advisor/resource-manager/Microsoft.Advisor/stable/2017-04-19/advisor.json +++ b/specification/advisor/resource-manager/Microsoft.Advisor/stable/2017-04-19/advisor.json @@ -256,8 +256,7 @@ "CreateSuppression": { "$ref": "./examples/EmptyResponse.json" } - }, - "x-ms-long-running-operation": true + } } }, "/subscriptions/{subscriptionId}/providers/Microsoft.Advisor/recommendations": {