Add Circuit breaker in APIM Backends

Chinmay Sonawane 65 Reputation points
2024-03-28T18:30:53.1266667+00:00

Hi, We are trying to implement circuit breaker in the APIM Backends as mentioned in this documentation

Backends in API Management

But when trying to create or update a backend in the APIM using the REST API we get the below error

User's image

Any idea how to implement this the proper way. Thank You.

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

Accepted answer
  1. JananiRamesh-MSFT 21,171 Reputation points
    2024-03-29T18:09:01.0666667+00:00

    @Chinmay Sonawane Thanks for reaching out. You are getting this error due to incorrect api version Could you please use the API version as 2023-03-01 Preview in the request url as given below

    PATCH https://management.azure.com/subscriptions/{sub-id}/resourceGroups/{RG-name}/providers/Microsoft.ApiManagement/service/{service-name}/backends/{backend-id}?api-version=2023-03-01-preview
    

    I am able to add circuit breaker successfully for my backend please try and let me know incase of further queries, I would be happy to assist you.


    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.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful