This is the AutoRest configuration file for Device Update for IoT Hub.
To build the SDKs for My API, simply install AutoRest via npm
(npm install -g autorest
) and then run:
autorest readme.md
To see additional help and options, run:
autorest --help
For other options on installation see Installing AutoRest on the AutoRest github page.
These are the global settings for the deviceupdate.
openapi-type: data-plane
tag: package-2020-09-01
These settings apply only when --tag=package-2020-09-01
is specified on the command line.
input-file:
- Microsoft.DeviceUpdate/preview/2020-09-01/deviceupdate.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-python
- repo: azure-sdk-for-java
- repo: azure-sdk-for-js
after_scripts:
- bundle install && rake arm:regen_all_profiles['deviceupdate']
See configuration in readme.python.md
See configuration in readme.typescript.md
See configuration in readme.csharp.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.DeviceUpdate/preview/2020-09-01/deviceupdate.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