Skip to content

Mgmt regeneration

Laurent Mazuel edited this page Feb 14, 2020 · 9 revisions

See https://github.com/Azure/autorest.python/wiki/Generating-Multi-API-client first

Storage

  • Assuming you have an env variable "SDK_FOLDER" to something like D:\VSProjects\azure-sdk-for-python\sdk

  • autorest-beta ..\azure-rest-api-specs\specification\storage\resource-manager\readme.md --use=. --python --multiapi --python-mode=update --python-sdks-folder=$SDK_FOLDER --keep-version-file

  • Install an autorest dev environment and load it: https://github.com/Azure/autorest.python/wiki/Generation-using-autorest-for-Python-v5---dev-mode

  • python -m autorest.multiapi --python-sdks-folder=$SDK_FOLDER azure-mgmt-storage