Skip to content

Latest commit

 

History

History
122 lines (78 loc) · 2.75 KB

File metadata and controls

122 lines (78 loc) · 2.75 KB

Maintenance

see https://aka.ms/autorest

This is the AutoRest configuration file for Azure Maintenance.


Getting Started

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

openapi-type: arm
tag: package-2021-05

Tag: package-2021-05

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

input-file:
  - Microsoft.Maintenance/stable/2021-05-01/Maintenance.json

Tag: package-preview-2021-04

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

input-file:
  - Microsoft.Maintenance/preview/2021-04-01-preview/Maintenance.json

Tag: package-preview-2020-07

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

input-file:
  - Microsoft.Maintenance/preview/2020-07-01-preview/Maintenance.json

Tag: package-2020-04

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

input-file:
- Microsoft.Maintenance/stable/2020-04-01/Maintenance.json

Tag: package-2018-06-preview

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

input-file:
- Microsoft.Maintenance/preview/2018-06-01-preview/Maintenance.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-libraries-for-java
  - repo: azure-sdk-for-go
  - repo: azure-sdk-for-node
  - 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.Maintenance
  payload-flattening-threshold: 1
  output-folder: $(csharp-sdks-folder)/maintenance/Microsoft.Azure.Management.Maintenance/src/Generated/
  clear-output-folder: true

Python

See configuration in readme.python.md

Go

See configuration in readme.go.md

Java

See configuration in readme.java.md