Policy Fragment ARM Template Deployment and dependent API update

Nagashree Balasundaram 731 Reputation points
2022-07-22T19:50:24.043+00:00

When you deploy a policy fragment(ARM template) to Azure APIM, are the updates automatically propagated to all the APIs that use the fragment? OR Does it require redeployment of the APIs using the policy fragment.
To be very specific, I am trying to deploy only the policy fragment ARM template to APIM using Azure cli on azure devops pipeline, not manually editing the policy fragment on the Azure portal for APIM.
Example scenario: I have a policy fragment F, which is used in APIs A and B. The policy fragment deployment is governed by a separate pipeline which is different from deployment pipelines for APIs A and B. In this case, I would like to know if deployment of F is sufficient for the APIs to get the updated policy fragment or do we need to trigger deployment of APIs A and B as well.

Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
1,769 questions
0 comments No comments
{count} votes

Accepted answer
  1. JananiRamesh-MSFT 21,471 Reputation points
    2022-07-25T18:06:06.603+00:00

    Hi @Nagashree Balasundaram Thanks for reaching out. When you deploy the policy fragment the changes will get reflected to all the api's for which the policy fragments are included. For the given scenario deployment of F (policy fragment) is sufficient for the api's to get the updated policy fragment.

    Please let me know incase of further queries, I would be happy to assist you.

    To benefit the community find the right answers, please do mark the post which was helpful by clicking on Accept Answer’ & ‘Up-Vote’.


0 additional answers

Sort by: Most helpful