Skip to content

Latest commit

 

History

History
85 lines (55 loc) · 1.95 KB

File metadata and controls

85 lines (55 loc) · 1.95 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-2020-01-01

Tag: package-2019-12-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

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

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
    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

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

AzureResourceSchema

See configuration in readme.azureresourceschema.md