This is the AutoRest configuration file for Marketplace.
To build the SDK for Marketplace, simply Install AutoRest and in this folder, run:
autorest
To see additional help and options, run:
autorest --help
These are the global settings for the Marketplace API.
openapi-type: arm
tag: package-2021-06-01
The following packages may be composed from multiple api-versions.
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
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
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
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
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
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
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