This is the AutoRest configuration file for LabServices.
To build the SDK for LabServices, 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 LabServices API.
openapi-type: arm
tag: package-preview-2021-11
These settings apply only when --tag=package-preview-2021-11
is specified on the command line.
input-file:
- Microsoft.LabServices/preview/2021-11-15-preview/Images.json
- Microsoft.LabServices/preview/2021-11-15-preview/LabPlans.json
- Microsoft.LabServices/preview/2021-11-15-preview/LabServices.json
- Microsoft.LabServices/preview/2021-11-15-preview/Labs.json
- Microsoft.LabServices/preview/2021-11-15-preview/OperationResults.json
- Microsoft.LabServices/preview/2021-11-15-preview/Schedules.json
- Microsoft.LabServices/preview/2021-11-15-preview/Users.json
- Microsoft.LabServices/preview/2021-11-15-preview/VirtualMachines.json
- Microsoft.LabServices/preview/2021-11-15-preview/Usages.json
- Microsoft.LabServices/preview/2021-11-15-preview/Skus.json
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
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
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
- repo: azure-powershell
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
See configuration in readme.python.md
See configuration in readme.go.md
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
batch:
- tag: package-2018-10
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