This is the AutoRest configuration file for AppPlatform.
To build the SDK for AppPlatform, 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 AppPlatform API.
openapi-type: arm
tag: package-preview-2022-01
directive:
- suppress: EnumInsteadOfBoolean
from: appplatform.json
where: $.definitions.NameAvailability.properties.nameAvailable
reason: The boolean properties 'nameAvailable' is actually boolean value defined by Azure API spec
- suppress: EnumInsteadOfBoolean
from: appplatform.json
where: $.definitions.Dimension.properties.toBeExportedForShoebox
reason: The boolean properties 'toBeExportedForShoebox' is defined by Geneva metrics
- suppress: R3021
from: appplatform.json
reason: The resource type name 'Spring' is a trademark so cannot be changed to be camel-case
#where:
# - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/configServers/default"]
# - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/monitoringSettings/default"]
These settings apply only when --tag=package-preview-2022-01
is specified on the command line.
input-file:
- Microsoft.AppPlatform/preview/2022-01-01-preview/appplatform.json
These settings apply only when --tag=package-preview-2021-09
is specified on the command line.
input-file:
- Microsoft.AppPlatform/preview/2021-09-01-preview/appplatform.json
These settings apply only when --tag=package-preview-2021-06
is specified on the command line.
input-file:
- Microsoft.AppPlatform/preview/2021-06-01-preview/appplatform.json
These settings apply only when --tag=package-preview-2020-11
is specified on the command line.
input-file:
- Microsoft.AppPlatform/preview/2020-11-01-preview/appplatform.json
These settings apply only when --tag=package-2020-07
is specified on the command line.
input-file:
- Microsoft.AppPlatform/stable/2020-07-01/appplatform.json
These settings apply only when --tag=package-2019-05-01-preview
is specified on the command line.
input-file:
- Microsoft.AppPlatform/preview/2019-05-01-preview/appplatform.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-powershell
- repo: azure-sdk-for-python-track2
- repo: azure-sdk-for-java
- repo: azure-sdk-for-net
- repo: azure-sdk-for-node
- repo: azure-sdk-for-js
- repo: azure-sdk-for-go
- repo: azure-sdk-for-go-track2
- repo: azure-sdk-for-ruby
after_scripts:
- bundle install && rake arm:regen_all_profiles['azure_mgmt_appplatform']
- repo: azure-resource-manager-schemas
See configuration in readme.go.md
See configuration in readme.python.md
See configuration in readme.java.md
These settings apply only when --csharp
is specified on the command line.
Please also specify --csharp-sdks-folder=<path to "sdk" directory of your azure-sdk-for-net clone>
.
csharp:
# last generated with AutoRest.0.17.3
azure-arm: true
license-header: MICROSOFT_MIT_NO_VERSION
namespace: Microsoft.Azure.Management.AppPlatform
output-folder: $(csharp-sdks-folder)/appplatform/Microsoft.Azure.Management.AppPlatform/src/Generated
clear-output-folder: true