This is the AutoRest configuration file for Web.
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.
To build the SDK for Web, 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 Web API.
title: WebSiteManagementClient
description: WebSite Management Client
openapi-type: arm
tag: package-2016-09
These settings apply only when --tag=package-2016-09
is specified on the command line.
input-file:
- Microsoft.CertificateRegistration/2015-08-01/AppServiceCertificateOrders.json
- Microsoft.DomainRegistration/2015-04-01/Domains.json
- Microsoft.DomainRegistration/2015-04-01/TopLevelDomains.json
- Microsoft.Web/2016-03-01/Certificates.json
- Microsoft.Web/2016-03-01/DeletedWebApps.json
- Microsoft.Web/2016-03-01/Provider.json
- Microsoft.Web/2016-03-01/Recommendations.json
- Microsoft.Web/2016-03-01/ResourceProvider.json
- Microsoft.Web/2016-08-01/WebApps.json
- Microsoft.Web/2016-09-01/AppServiceEnvironments.json
- Microsoft.Web/2016-09-01/AppServicePlans.json
These settings apply only when --tag=package-2015-08-preview
is specified on the command line.
input-file:
- Microsoft.Web/2015-08-01/service.json
- Microsoft.Web/2015-08-01-preview/logicAppsManagementClient.json
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:
# last generated with commit e416af734666d658a04530df605f60480c01cc10
azure-arm: true
license-header: MICROSOFT_MIT_NO_VERSION
namespace: Microsoft.Azure.Management.WebSites
output-folder: $(csharp-sdks-folder)/WebSites/Management.WebSites/Generated
clear-output-folder: true
These settings apply only when --python
is specified on the command line.
python:
# override the default output folder
output-folder: $(output-folder)/python
license-header: MICROSOFT_MIT_NO_VERSION
payload-flattening-threshold: 2
namespace: azure.mgmt.web