Skip to content

Files

Latest commit

 

History

History
 
 

resource-manager

VisualStudio

see https://aka.ms/autorest

This is the AutoRest configuration file for VisualStudio.

The App service RP comprises of services where each service has its own tag. Hence, each sub-service has its own swagger spec.

All of them are tied together using this configuration and are packaged together into one compute client library. This makes it easier for customers to download one (NuGet/npm/pip/maven/gem) compute client library package rather than installing individual packages for each sub service.


Getting Started

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

openapi-type: arm
tag: package-2014-04-preview

Tag: package-2014-04-preview

These settings apply only when --tag=package-2014-04-preview is specified on the command line.

input-file:
- Microsoft.VisualStudio/preview/2014-04-01-preview/Csm.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-go
  - repo: azure-sdk-for-node
  - repo: azure-sdk-for-js
  - repo: azure-resource-manager-schemas
  - repo: azure-powershell

Go

See configuration in readme.go.md

Java

These settings apply only when --java is specified on the command line. Please also specify --azure-libraries-for-java-folder=<path to the root directory of your azure-libraries-for-java clone>.

azure-arm: true
fluent: true
namespace: com.microsoft.azure.management.visualstudio
license-header: MICROSOFT_MIT_NO_CODEGEN
payload-flattening-threshold: 1
output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-visualstudio

Java multi-api

batch:
  - tag: package-2014-04-preview

Tag: package-2014-04-preview and java

These settings apply only when --tag=package-2014-04-preview --java is specified on the command line. Please also specify --azure-libraries-for-java=<path to the root directory of your azure-sdk-for-java clone>.

java:
  namespace: com.microsoft.azure.management.visualstudio.v2014_04_01_preview
  output-folder: $(azure-libraries-for-java-folder)/sdk/visualstudio/mgmt-v2014_04_01_preview
regenerate-manager: true
generate-interface: true