Skip to content

Files

This branch is 4283 commits behind Azure/azure-rest-api-specs:main.

resource-manager

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Mar 7, 2023
May 15, 2022
May 15, 2022
May 15, 2022
Mar 2, 2023
Mar 2, 2023
Mar 3, 2023
Jul 20, 2022

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-2023-04

Tag: package-2023-04

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

input-file:
  - Microsoft.Workloads/stable/2023-04-01/SAPVirtualInstance.json
  - Microsoft.Workloads/stable/2023-04-01/commonTypes.json
  - Microsoft.Workloads/stable/2023-04-01/monitors.json
  - Microsoft.Workloads/stable/2023-04-01/operations.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.Workloads/preview/2022-11-01-preview/SAPVirtualInstance.json
  - Microsoft.Workloads/preview/2022-11-01-preview/commonTypes.json
  - Microsoft.Workloads/preview/2022-11-01-preview/monitors.json
  - Microsoft.Workloads/preview/2022-11-01-preview/operations.json

Tag: package-2021-12-01-preview

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

input-file:
  - Microsoft.Workloads/preview/2021-12-01-preview/phpWorkloads.json
  - Microsoft.Workloads/preview/2021-12-01-preview/SAPVirtualInstance.json
  - Microsoft.Workloads/preview/2021-12-01-preview/operations.json
  - Microsoft.Workloads/preview/2021-12-01-preview/monitors.json
  - Microsoft.Workloads/preview/2021-12-01-preview/skus.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-track2
  - repo: azure-sdk-for-java
  - repo: azure-sdk-for-go
  - repo: azure-sdk-for-js
  - repo: azure-sdk-for-net-track2
  - 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