Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
32 changes: 20 additions & 12 deletions specification/cdn/resource-manager/readme.md
Original file line number Diff line number Diff line change
@@ -1,27 +1,27 @@
# 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`

To see additional help and options, run:

> `autorest --help`

---

## Configuration

### Basic Information


### Basic Information
These are the global settings for the Cdn API.

``` yaml
Expand All @@ -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.
Expand All @@ -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.
Expand All @@ -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.
Expand All @@ -74,10 +74,9 @@ input-file:
- Microsoft.Cdn/stable/2015-06-01/cdn.json
```


---
# Code Generation

# Code Generation

## Swagger to SDK

Expand All @@ -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)

Expand All @@ -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
```