From 279d7a91b6efd687d463fccfc256d546bc9d2f5e Mon Sep 17 00:00:00 2001 From: Prasanna-Padmanabhan <31525198+Prasanna-Padmanabhan@users.noreply.github.com> Date: Thu, 28 Jun 2018 16:53:39 -0700 Subject: [PATCH] Add C# SDK generation settings for Advisor (#3213) * Adding x-ms-pageable tag for configuration list command. * Add x-ms-pageable for list configuration by resource group operation. * Add C# settings * Remove wrong tag --- .../stable/2017-04-19/advisor.json | 3 +-- specification/advisor/resource-manager/readme.md | 16 ++++++++++++++++ 2 files changed, 17 insertions(+), 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": { diff --git a/specification/advisor/resource-manager/readme.md b/specification/advisor/resource-manager/readme.md index e6e052367f27..63eeaa356fa3 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.