Skip to content

Latest commit

 

History

History
159 lines (105 loc) · 4.28 KB

File metadata and controls

159 lines (105 loc) · 4.28 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-2023-01-01

Composite packages

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

Tag: package-2023-01-01

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

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

Tag: package-2022-09

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

input-file:
  - Microsoft.Marketplace/stable/2022-09-01/Marketplace.json

Tag: package-2022-03

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

input-file:
  - Microsoft.Marketplace/stable/2022-03-01/Marketplace.json

Tag: package-2021-12

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

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

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

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