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-2020-01-01
These settings apply only when --tag=package-2019-12-01
is specified on the command line.
input-file:
- Microsoft.Marketplace/stable/2019-12-01/Marketplace.json
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
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
after_scripts:
- bundle install && rake arm:regen_all_profiles['azure_mgmt_marketplace']
- repo: azure-resource-manager-schemas
after_scripts:
- node sdkauto_afterscript.js marketplace/resource-manager
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
See configuration in readme.azureresourceschema.md