Skip to content

Latest commit

 

History

History
123 lines (79 loc) · 3.31 KB

File metadata and controls

123 lines (79 loc) · 3.31 KB

marketplace

see https://aka.ms/autorest

This is the AutoRest configuration file for Marketplace.


Getting Started

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

openapi-type: arm
tag: package-2021-06-01

Composite packages

The following packages may be composed from multiple api-versions.

Tag: package-composite-v2

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

This section contains the "composite-v2" set of APIs, which is composed from a selection of api-versions that will remain backwards compatible with "v1" clients.

APIs must only be added to this section when the API is publicly available in at least 1 production region and at least 1 generated client has been tested end-to-end.

input-file:
- Microsoft.Marketplace/stable/2021-06-01/Marketplace.json

Tag: package-composite-v1

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

This section contains the "composite-v1" set of APIs, which is composed from a selection of api-versions that will remain backwards compatible with "v1" clients.

APIs must only be added to this section when the API is publicly available in at least 1 production region and at least 1 generated client has been tested end-to-end.

input-file:
- Microsoft.Marketplace/stable/2020-01-01/Marketplace.json
- Microsoft.Marketplace/stable/2020-12-01/Marketplace.json

# Needed when there is more than one input file
override-info:
  title: MarketplaceManagementClient

Tag: package-2020-01-01

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

input-file:
  - Microsoft.Marketplace/stable/2020-01-01/Marketplace.json

Tag: package-2020-12-01

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

input-file:
  - Microsoft.Marketplace/stable/2020-12-01/Marketplace.json

Tag: package-2021-06-01

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

input-file:
  - Microsoft.Marketplace/stable/2021-06-01/Marketplace.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-net
  - 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.Marketplace
  output-folder: $(csharp-sdks-folder)/marketplace/Microsoft.Azure.Management.Marketplace/src/Generated
  clear-output-folder: true
  modelerfour:
    lenient-model-deduplication: true