This is the AutoRest configuration file for Azure Sphere.
To build the SDK for Azure Sphere, 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 Azure Sphere API.
title: AzureSphereManagementClient
openapi-type: arm
openapi-subtype: rpaas
tag: package-2024-04-01
modelerfour:
flatten-models: false
These settings apply only when --tag=package-2022-09-01-preview
is specified on the command line.
input-file:
- Microsoft.AzureSphere/preview/2022-09-01-preview/azuresphere.json
These settings apply only when --tag=package-2024-04-01
is specified on the command line.
input-file:
- Microsoft.AzureSphere/stable/2024-04-01/azuresphere.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-track2
- repo: azure-sdk-for-python
- 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_azuresphere']
- repo: azure-resource-manager-schemas
after_scripts:
- node sdkauto_afterscript.js azuresphere/resource-manager
See configuration in readme.csharp.md
See configuration in readme.go.md
See configuration in readme.java.md
See configuration in readme.nodejs.md
See configuration in readme.python.md
See configuration in readme.ruby.md
See configuration in readme.typescript.md
See configuration in readme.azureresourceschema.md
AutoRest V3 generators require the use of --tag=all-api-versions
to select api files.
This block is updated by an automatic script. Edits may be lost!
# include the azure profile definitions from the standard location
require: $(this-folder)/../../../profiles/readme.md
# all the input files across all versions
input-file:
- $(this-folder)/Microsoft.AzureSphere/preview/2022-09-01-preview/azuresphere.json
- $(this-folder)/Microsoft.AzureSphere/stable/2024-04-01/azuresphere.json
If there are files that should not be in the all-api-versions
set,
uncomment the exclude-file
section below and add the file paths.
#exclude-file:
# - $(this-folder)/Microsoft.Example/stable/2010-01-01/somefile.json