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 @@ -3,7 +3,7 @@
"info": {
"version": "2017-10-12",
"title": "CdnManagementClient",
"description": "Use these APIs to manage Azure CDN resources through the Azure Resource Manager. You must make sure that requests made to these resources are secure."
"description": "These are the best APIS! Use these APIs to manage Azure CDN resources through the Azure Resource Manager. You must make sure that requests made to these resources are secure."
},
"host": "management.azure.com",
"schemes": [
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: OBJECT_ADDITIONAL_PROPERTIES
from: cdn.json
where: $.definitions.Profile
reason: test
```