From 350be00bc14201092a2203d868ed623a7e6e0c3a Mon Sep 17 00:00:00 2001 From: Arik Olsh <47111029+arolshan@users.noreply.github.com> Date: Sun, 14 Apr 2019 17:17:08 +0300 Subject: [PATCH] Adds suppression to readme --- .../resource-manager/readme.md | 25 ++++++++++--------- 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/specification/operationalinsights/resource-manager/readme.md b/specification/operationalinsights/resource-manager/readme.md index 08e399334edc..5c579266a0b2 100644 --- a/specification/operationalinsights/resource-manager/readme.md +++ b/specification/operationalinsights/resource-manager/readme.md @@ -4,10 +4,10 @@ This is the AutoRest configuration file for OperationalInsights. - - --- + ## Getting Started + To build the SDK for OperationalInsights, simply [Install AutoRest](https://aka.ms/autorest/install) and in this folder, run: > `autorest` @@ -15,13 +15,13 @@ To build the SDK for OperationalInsights, simply [Install AutoRest](https://aka. To see additional help and options, run: > `autorest --help` + --- ## Configuration - - ### Basic Information + These are the global settings for the OperationalInsights API. ``` yaml @@ -31,7 +31,6 @@ openapi-type: arm tag: package-2015-11-preview ``` - ### Tag: package-2015-11-preview These settings apply only when `--tag=package-2015-11-preview` is specified on the command line. @@ -51,8 +50,8 @@ input-file: ``` --- -# Code Generation +# Code Generation ## Swagger to SDK @@ -70,13 +69,12 @@ swagger-to-sdk: - bundle install && rake arm:regen_all_profiles['azure_mgmt_operational_insights'] ``` - ## C# These settings apply only when `--csharp` is specified on the command line. Please also specify `--csharp-sdks-folder=`. -```yaml $(csharp) +``` yaml $(csharp) csharp: # last generated using AutoRest.1.0.0-Nightly20170126 azure-arm: true @@ -105,11 +103,13 @@ python: description: The Log Analytics Client. clear-output-folder: true ``` + ``` yaml $(python) && $(python-mode) == 'update' python: no-namespace-folders: true output-folder: $(python-sdks-folder)/azure-mgmt-loganalytics/azure/mgmt/loganalytics ``` + ``` yaml $(python) && $(python-mode) == 'create' python: basic-setup-py: true @@ -134,8 +134,6 @@ payload-flattening-threshold: 1 output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-operationalinsights ``` - - ### Java multi-api ``` yaml $(java) && $(multiapi) @@ -170,12 +168,15 @@ regenerate-manager: true generate-interface: true ``` - ## Suppression ``` yaml directive: - from: OperationalInsights.json - suppress: R3006 # BodyTopLevelProperties/R3006/RPCViolation + suppress: R3006 reason: properties etag defined as eTag in model + - suppress: EnumInsteadOfBoolean + from: OperationalInsights.json + where: $.definitions.IntelligencePack.properties.enabled + reason: 'Not related to my change and this is a code constraint. ' ```