Skip to content

Latest commit

 

History

History
109 lines (74 loc) · 2.71 KB

File metadata and controls

109 lines (74 loc) · 2.71 KB

workloads

see https://aka.ms/autorest

This is the AutoRest configuration file for workloads.

Getting Started

To build the SDKs for My API, simply install AutoRest via npm (npm install -g autorest) and then run:

autorest readme.md

To see additional help and options, run:

autorest --help

For other options on installation see Installing AutoRest on the AutoRest github page.


Configuration

Basic Information

These are the global settings for the workloads.

openapi-type: arm
openapi-subtype: rpaas
tag: package-preview-2024-02-01-preview

Tag: package-preview-2024-02-01-preview

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

input-file:
  - preview/2024-02-01-preview/monitors.json
  - ../operations/preview/2024-02-01-preview/operations.json
suppressions:
  - code: GuidUsage
    reason: GUIDs are used for principalId and tenantId under MSI properties.

Tag: package-preview-2023-12-01-preview

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

input-file:
  - preview/2023-12-01-preview/monitors.json
  - ../operations/preview/2023-12-01-preview/operations.json
suppressions:
  - code: GuidUsage
    reason: GUIDs are used for principalId and tenantId under MSI properties.

Tag: package-preview-2023-10-01-preview

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

input-file:
  - preview/2023-10-01-preview/monitors.json
  - ../common-types/v2/commonTypes.json
  - ../operations/preview/2023-10-01-preview/operations.json
suppressions:
  - code: GuidUsage
    reason: GUIDs are used for principalId and tenantId under MSI properties.

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

Az

See configuration in readme.az.md

Go

See configuration in readme.go.md

Python

See configuration in readme.python.md

TypeScript

See configuration in readme.typescript.md

CSharp

See configuration in readme.csharp.md