This is the AutoRest configuration file for IotHub.
To build the SDK for IotHub, 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 IotHub API.
openapi-type: arm
tag: package-2020-08-31
These settings apply only when --tag=package-2020-08-31
is specified on the command line.
input-file:
- Microsoft.Devices/stable/2020-08-31/iothub.json
These settings apply only when --tag=package-preview-2020-08-31
is specified on the command line.
input-file:
- Microsoft.Devices/preview/2020-08-31-preview/iothub.json
These settings apply only when --tag=package-2020-08
is specified on the command line.
input-file:
- Microsoft.Devices/stable/2020-08-01/iothub.json
These settings apply only when --tag=package-preview-2020-07
is specified on the command line.
input-file:
- Microsoft.Devices/preview/2020-07-10-preview/iothub.json
These settings apply only when --tag=package-2020-06
is specified on the command line.
input-file:
- Microsoft.Devices/stable/2020-06-15/iothub.json
These settings apply only when --tag=package-2020-04
is specified on the command line.
input-file:
- Microsoft.Devices/stable/2020-04-01/iothub.json
These settings apply only when --tag=package-2020-03
is specified on the command line.
input-file:
- Microsoft.Devices/stable/2020-03-01/iothub.json
These settings apply only when --tag=package-2019-11
is specified on the command line.
input-file:
- Microsoft.Devices/stable/2019-11-04/iothub.json
These settings apply only when --tag=package-preview-2019-07
is specified on the command line.
input-file:
- Microsoft.Devices/preview/2019-07-01-preview/iothub.json
These settings apply only when --tag=package-2019-03
is specified on the command line.
input-file:
- Microsoft.Devices/stable/2019-03-22/iothub.json
These settings apply only when --tag=package-preview-2019-03
is specified on the command line.
input-file:
- Microsoft.Devices/preview/2019-03-22-preview/iothub.json
These settings apply only when --tag=package-2018-12-preview
is specified on the command line.
input-file:
- Microsoft.Devices/preview/2018-12-01-preview/iothub.json
These settings apply only when --tag=package-2018-04
is specified on the command line.
input-file:
- Microsoft.Devices/stable/2018-04-01/iothub.json
These settings apply only when --tag=package-2018-01
is specified on the command line.
input-file:
- Microsoft.Devices/stable/2018-01-22/iothub.json
These settings apply only when --tag=package-2017-07
is specified on the command line.
input-file:
- Microsoft.Devices/stable/2017-07-01/iothub.json
These settings apply only when --tag=package-2017-01
is specified on the command line.
input-file:
- Microsoft.Devices/stable/2017-01-19/iothub.json
These settings apply only when --tag=package-2016-02
is specified on the command line.
input-file:
- Microsoft.Devices/stable/2016-02-03/iothub.json
These settings apply only when --tag=profile-hybrid-2020-09-01
is specified on the command line.
input-file:
- Microsoft.Devices/preview/2019-07-01-preview/iothub.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
after_scripts:
- python ./scripts/multiapi_init_gen.py azure-mgmt-iothub
- 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_iot_hub']
- repo: azure-resource-manager-schemas
after_scripts:
- node sdkauto_afterscript.js iothub/resource-manager
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.IotHub
output-folder: $(csharp-sdks-folder)/iothub/Microsoft.Azure.Management.IotHub/src/Generated
clear-output-folder: true
See configuration in readme.go.md
See configuration in readme.java.md
See configuration in readme.azureresourceschema.md