Skip to content

Latest commit

 

History

History
278 lines (191 loc) · 7.07 KB

File metadata and controls

278 lines (191 loc) · 7.07 KB

Cdn

see https://aka.ms/autorest

This is the AutoRest configuration file for Cdn.


Getting Started

To build the SDK for Cdn, simply Install AutoRest and in this folder, run:

autorest

To see additional help and options, run:

autorest --help


Configuration

Basic Information

These are the global settings for the Cdn API.

title: CdnManagementClient
description: Cdn Management Client
openapi-type: arm
tag: package-2024-02

Tag: package-preview-2024-06

These settings apply only when --tag=package-preview-2024-06 is specified on the command line.

input-file:
  - Microsoft.Cdn/preview/2024-06-01-preview/afdx.json
  - Microsoft.Cdn/preview/2024-06-01-preview/cdn.json
  - Microsoft.Cdn/preview/2024-06-01-preview/cdnwebapplicationfirewall.json

Tag: package-preview-2024-05

These settings apply only when --tag=package-preview-2024-05 is specified on the command line.

input-file:
  - Microsoft.Cdn/preview/2024-05-01-preview/afdx.json
  - Microsoft.Cdn/preview/2024-05-01-preview/cdn.json
  - Microsoft.Cdn/preview/2024-05-01-preview/cdnwebapplicationfirewall.json

Tag: package-2024-02

These settings apply only when --tag=package-2024-02 is specified on the command line.

input-file:
  - Microsoft.Cdn/stable/2024-02-01/afdx.json
  - Microsoft.Cdn/stable/2024-02-01/cdn.json
  - Microsoft.Cdn/stable/2024-02-01/cdnwebapplicationfirewall.json

Tag: package-preview-2023-07

These settings apply only when --tag=package-preview-2023-07 is specified on the command line.

input-file:
  - Microsoft.Cdn/preview/2023-07-01-preview/afdx.json
  - Microsoft.Cdn/preview/2023-07-01-preview/cdn.json
  - Microsoft.Cdn/preview/2023-07-01-preview/cdnwebapplicationfirewall.json

suppressions:
  - code: PutRequestResponseSchemeArm
    reason: False alarm. PUT request body is not superset of GET response body. We also do not support PATCH on keyGroups resource by design.  

Tag: package-2023-05

These settings apply only when --tag=package-2023-05 is specified on the command line.

input-file:
  - Microsoft.Cdn/stable/2023-05-01/afdx.json
  - Microsoft.Cdn/stable/2023-05-01/cdn.json
  - Microsoft.Cdn/stable/2023-05-01/cdnwebapplicationfirewall.json

Tag: package-preview-2022-11

These settings apply only when --tag=package-preview-2022-11 is specified on the command line.

input-file:
  - Microsoft.Cdn/preview/2022-11-01-preview/afdx.json
  - Microsoft.Cdn/preview/2022-11-01-preview/cdn.json
  - Microsoft.Cdn/preview/2022-11-01-preview/cdnwebapplicationfirewall.json

Tag: package-preview-2022-05

These settings apply only when --tag=package-preview-2022-05 is specified on the command line.

input-file:
  - Microsoft.Cdn/preview/2022-05-01-preview/afdx.json
  - Microsoft.Cdn/preview/2022-05-01-preview/cdn.json
  - Microsoft.Cdn/preview/2022-05-01-preview/cdnwebapplicationfirewall.json

Tag: package-2021-06

These settings apply only when --tag=package-2021-06 is specified on the command line.

input-file:
  - Microsoft.Cdn/stable/2021-06-01/afdx.json
  - Microsoft.Cdn/stable/2021-06-01/cdn.json
  - Microsoft.Cdn/stable/2021-06-01/cdnwebapplicationfirewall.json

Tag: package-2020-09

These settings apply only when --tag=package-2020-09 is specified on the command line.

input-file:
- Microsoft.Cdn/stable/2020-09-01/cdn.json
- Microsoft.Cdn/stable/2020-09-01/afdx.json
- Microsoft.Cdn/stable/2020-09-01/cdnwebapplicationfirewall.json

Tag: package-2020-04

These settings apply only when --tag=package-2020-04 is specified on the command line.

input-file:
- Microsoft.Cdn/stable/2020-04-15/cdn.json
- Microsoft.Cdn/stable/2020-04-15/cdnwebapplicationfirewall.json

Tag: package-2019-12

These settings apply only when --tag=package-2019-12 is specified on the command line.

input-file:
- Microsoft.Cdn/stable/2019-12-31/cdn.json

Tag: package-2019-06-preview

These settings apply only when --tag=package-2019-06-preview is specified on the command line.

input-file:
- Microsoft.Cdn/preview/2019-06-15-preview/cdn.json
- Microsoft.Cdn/preview/2019-06-15-preview/cdnwebapplicationfirewall.json
directive:
  - where:
      - $.paths
    suppress:
      - OperationsAPIImplementation

Tag: package-2019-06

These settings apply only when --tag=package-2019-06 is specified on the command line.

input-file:
- Microsoft.Cdn/stable/2019-06-15/cdn.json
- Microsoft.Cdn/stable/2019-06-15/cdnwebapplicationfirewall.json

Tag: package-2019-04

These settings apply only when --tag=package-2019-04 is specified on the command line.

input-file:
- Microsoft.Cdn/stable/2019-04-15/cdn.json

Tag: package-2017-10

These settings apply only when --tag=package-2017-10 is specified on the command line.

input-file:
- Microsoft.Cdn/stable/2017-10-12/cdn.json

Tag: package-2017-04

These settings apply only when --tag=package-2017-04 is specified on the command line.

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.

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.

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.

input-file:
- Microsoft.Cdn/stable/2015-06-01/cdn.json

Code Generation

Swagger to SDK

This section describes what SDK should be generated by the automatic system. This is not used by Autorest itself.

swagger-to-sdk:
  - repo: azure-sdk-for-python
  - repo: azure-sdk-for-java
  - repo: azure-sdk-for-go
  - repo: azure-sdk-for-net-track2
  - repo: azure-sdk-for-js
  - repo: azure-sdk-for-node
  - repo: azure-sdk-for-ruby
  - repo: azure-resource-manager-schemas
  - repo: azure-powershell

C#

See configuration in readme.csharp.md

Python

See configuration in readme.python.md

Go

See configuration in readme.go.md

Java

See configuration in readme.java.md

Node

See configuration in readme.node.md

Ruby

See configuration in readme.ruby.md