From 50775ceab16e7464f8ccc0c74e2f8f996725a430 Mon Sep 17 00:00:00 2001 From: billytrend Date: Thu, 29 Nov 2018 13:17:52 -0800 Subject: [PATCH 1/2] Update cdn.json --- .../resource-manager/Microsoft.Cdn/stable/2017-10-12/cdn.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2017-10-12/cdn.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2017-10-12/cdn.json index 79ba38c81747..c705bab7cee7 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2017-10-12/cdn.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2017-10-12/cdn.json @@ -40,7 +40,7 @@ "Profiles" ], "description": "Lists all of the CDN profiles within an Azure subscription.", - "operationId": "Profiles_List", + "operationId": "Profiles_Array", "x-ms-examples": { "Profiles_List": { "$ref": "./examples/Profiles_List.json" From 8c5b9b9c24adf48b7a6e2434230c866d1e4d6bb1 Mon Sep 17 00:00:00 2001 From: billytrend Date: Thu, 29 Nov 2018 13:19:58 -0800 Subject: [PATCH 2/2] Adds suppression to readme --- specification/cdn/resource-manager/readme.md | 32 ++++++++++++-------- 1 file changed, 20 insertions(+), 12 deletions(-) diff --git a/specification/cdn/resource-manager/readme.md b/specification/cdn/resource-manager/readme.md index 137ee3956bcb..7a63f5821beb 100644 --- a/specification/cdn/resource-manager/readme.md +++ b/specification/cdn/resource-manager/readme.md @@ -1,13 +1,13 @@ # Cdn - + > see https://aka.ms/autorest This is the AutoRest configuration file for Cdn. +--- +## Getting Started ---- -## Getting Started To build the SDK for Cdn, simply [Install AutoRest](https://aka.ms/autorest/install) and in this folder, run: > `autorest` @@ -15,13 +15,13 @@ To build the SDK for Cdn, simply [Install AutoRest](https://aka.ms/autorest/inst To see additional help and options, run: > `autorest --help` + --- ## Configuration +### Basic Information - -### Basic Information These are the global settings for the Cdn API. ``` yaml @@ -46,7 +46,7 @@ These settings apply only when `--tag=package-2017-04` is specified on the comma input-file: - Microsoft.Cdn/stable/2017-04-02/cdn.json ``` - + ### Tag: package-2016-10 These settings apply only when `--tag=package-2016-10` is specified on the command line. @@ -55,7 +55,7 @@ These settings apply only when `--tag=package-2016-10` is specified on the comma input-file: - Microsoft.Cdn/stable/2016-10-02/cdn.json ``` - + ### Tag: package-2016-04 These settings apply only when `--tag=package-2016-04` is specified on the command line. @@ -64,7 +64,7 @@ These settings apply only when `--tag=package-2016-04` is specified on the comma input-file: - Microsoft.Cdn/stable/2016-04-02/cdn.json ``` - + ### Tag: package-2015-06 These settings apply only when `--tag=package-2015-06` is specified on the command line. @@ -74,10 +74,9 @@ input-file: - Microsoft.Cdn/stable/2015-06-01/cdn.json ``` - --- -# Code Generation +# Code Generation ## Swagger to SDK @@ -97,8 +96,7 @@ swagger-to-sdk: - bundle install && rake arm:regen_all_profiles['azure_mgmt_cdn'] ``` - -## C# +## C# See configuration in [readme.csharp.md](./readme.csharp.md) @@ -121,3 +119,13 @@ See configuration in [readme.node.md](./readme.node.md) ## Ruby See configuration in [readme.ruby.md](./readme.ruby.md) + +## Suppression + +``` yaml +directive: + - suppress: ListInOperationName + from: cdn.json + where: '$.paths["/subscriptions/{subscriptionId}/providers/Microsoft.Cdn/profiles"].get.operationId' + reason: We're allowed just this once +```