Skip to content

Latest commit

 

History

History
134 lines (95 loc) · 3.58 KB

File metadata and controls

134 lines (95 loc) · 3.58 KB

LabServices

see https://aka.ms/autorest

This is the AutoRest configuration file for LabServices.


Getting Started

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

openapi-type: arm
tag: package-preview-2021-10

Tag: package-preview-2021-10

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

input-file:
  - Microsoft.LabServices/preview/2021-10-01-preview/LabServices.json
  - Microsoft.LabServices/preview/2021-10-01-preview/OperationResults.json
  - Microsoft.LabServices/preview/2021-10-01-preview/LabPlans.json
  - Microsoft.LabServices/preview/2021-10-01-preview/Images.json
  - Microsoft.LabServices/preview/2021-10-01-preview/Labs.json
  - Microsoft.LabServices/preview/2021-10-01-preview/Users.json
  - Microsoft.LabServices/preview/2021-10-01-preview/VirtualMachines.json
  - Microsoft.LabServices/preview/2021-10-01-preview/Schedules.json

Tag: package-2018-10

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

input-file:
- Microsoft.LabServices/stable/2018-10-15/ML.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
  - repo: azure-sdk-for-python-track2
  - repo: azure-sdk-for-java
  - repo: azure-sdk-for-go
  - repo: azure-sdk-for-js
  - repo: azure-sdk-for-node
  - repo: azure-sdk-for-ruby
    after_scripts:
      - bundle install && rake arm:regen_all_profiles['azure_mgmt_labservices']
  - repo: azure-resource-manager-schemas

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.LabServices
  output-folder: $(csharp-sdks-folder)/labservices/Microsoft.Azure.Management.LabServices/src/Generated
  clear-output-folder: true

Python

See configuration in readme.python.md

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.labservices
license-header: MICROSOFT_MIT_NO_CODEGEN
payload-flattening-threshold: 1
output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-labservices

Java multi-api

batch:
  - tag: package-2018-10

Tag: package-2018-10 and java

These settings apply only when --tag=package-2018-10 --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.labservices.v2018_10_15
  output-folder: $(azure-libraries-for-java-folder)/sdk/labservices/mgmt-v2018_10_15
regenerate-manager: true
generate-interface: true