how to deploy api management with APIs with any of bicep/arm/powershell

Zhi Xing Liu (CSI Interfusion Inc) 20 Reputation points Microsoft External Staff
2023-09-08T12:30:06.24+00:00

I want to automatically deploy an api management with APIs in place, with any way of bicep/arm/powershell.

does anyone could help give solution.

thanks!

Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
2,447 questions
{count} votes

1 answer

Sort by: Most helpful
  1. MuthuKumaranMurugaachari-MSFT 22,441 Reputation points Moderator
    2023-09-08T13:11:34.97+00:00

    Zhi Xing Liu (CSI Interfusion Inc) Thanks for posting your question in Microsoft Q&A. To deploy an APIM instance and APIs via ARM, you would need to generate ARM templates. Refer sample templates available in azure-quickstart-templates/quickstarts/microsoft.apimanagement/ repo which covers a lot of different scenarios including all sub-resources such as APIs, policies, users etc.

    Alternatively, if you have existing APIM instances with APIs, policies, you can use extractor tool available in azure-api-management-devops-resource-kit repo to generate ARM templates or creator tool to create API templates based on Open API specification.

    Once you generate ARM templates, you can automate the deployments using GitHub actions, CLI, PowerShell and Continuous Integration and Continuous Deployment using Azure DevOps will provide the detailed steps in building the pipeline. Adopting a DevOps process in Azure API Management using Azure APIM DevOps Resource Kit will also help in covering the dev-ops process.

    I hope this helps and let us know if any questions.


    If you found the answer to your question helpful, please take a moment to mark it as "Yes" for others to benefit from your experience. Or simply add a comment tagging me and would be happy to answer your questions.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.