Updates on the API Management Template Creator has been published:
A minor thing for usage but great for consistency and quality in the generator is that there is now a build and release pipeline setup in DevOps.
Now it’s mutch easier to get started, just install the APIMangementTemplate modul from PowerShell Gallery.
PS> Install-Module -Name APIManagementTemplate
Or update to the newest version
PS> Update-Module -Name APIManagementTemplate
In order to follow the best pratice from Azure API Management DevOps example we now have a new command Write-APIManagementTemplates this command will take a template as input and split into a file per resource to make it easy to manage and handle files and create more customized deployment with a linked template. Read more at GitHub
Get-APIManagementTemplate -APIManagement MyApiManagementInstance -ResourceGroup myResourceGroup -SubscriptionId 80d4fe69-xxxx-4dd2-a938-9250f1c8ab03 | Write-APIManagementTemplates -OutputDirectory C:\temp\templates -SeparatePolicyFile $true
Exporting API’s ia the API Management Template Extractor simplifies the CI area of using API Management, here we can select a specific API and export only that API, with Operations, version sets, schemas, properties etc. Without needing to manually add extra work, making the development inside the portal and then just extracting the work and setup the import to the next environment .