Skip to content

Latest commit

 

History

History
121 lines (80 loc) · 2.66 KB

File metadata and controls

121 lines (80 loc) · 2.66 KB

Quota

see https://aka.ms/autorest

This is the AutoRest configuration file for Quota RP.


Getting Started

To build the SDK for Quota, 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 Quota API.

openapi-type: arm
tag: package-2021-03-15-preview

Tag: package-2021-03-15

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

input-file:
  - Microsoft.Quota/stable/2021-03-15/quota.json

Tag: package-2021-03-15-preview

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

input-file:
  - Microsoft.Quota/preview/2021-03-15-preview/quota.json

Supressions

directive:
- suppress:
    - R3007 # The 'PutGetPatchResponseSchema' Both get and put/Patch is using same data model - CurrentQuotaLimitBase.
    - R4009 # The 'RequiredReadOnlySystemData' It will be added later, if needed.
    - R4018 # The 'OperationsApiResponseSchema' It will be added later, if needed. The current API provides in this format.


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-net
  - repo: azure-sdk-for-python-track2
  - repo: azure-sdk-for-java
  - repo: azure-sdk-for-go
  - repo: azure-sdk-for-go-track2
  - repo: azure-sdk-for-js
  - repo: azure-sdk-for-node
  - repo: azure-cli-extensions
  - repo: azure-sdk-for-ruby
  - repo: azure-resource-manager-schemas

C#

These settings apply only when --csharp is specified on the command line. Please also specify --csharp-sdks-folder=<path to "SDKs" directory of your azure-sdk-for-net clone>.

csharp:
  azure-arm: true
  license-header: MICROSOFT_MIT_NO_VERSION
  namespace: Microsoft.Azure.Management.Quota
  payload-flattening-threshold: 1
  output-folder: $(csharp-sdks-folder)/quota/Microsoft.Azure.Management.Quota/src/Generated
  clear-output-folder: true

Python

See configuration in readme.python.md

CLI

See configuration in readme.cli.md

AZ

See configuration in readme.az.md

Go

See configuration in readme.go.md

Java

See configuration in readme.java.md

Ruby

See configuration in readme.ruby.md