locked
Azure Api Management and Azure Functions RRS feed

  • Question

  • Hello to great minds that have answers.

    I have been looking at the Azure API Management, and I see a lot of great things.  What I really like is that I'm able to import a swagger file and it builds out my API and all the operations. Wonderful stuff.

    So know I'm wondering how can I take this and tie it to a Azure Function.  I would like to go into the Api Manager, select a operation (GET,PUT,POST.......) and tie it to a function.  

    Is this possible? 

    Maybe the functionality already exist, but I'm just to blind to see.

    Thanks

    George

    Tuesday, April 19, 2016 12:52 AM

Answers

  • Hi,

    Greetings

    yes,it is definitely possible,as long as the function has an HTTP trigger .The it is essentially an API with a single POST operation.

    Here is the video it provide you an information on APIM working with a function: https://channel9.msdn.com/events/Build/2016/T695.

    Hope it helps!

    Regards,

    Asha

    -------------------------------------------------------------------------

    If a post answers your question, please click Mark As Answer on that post and Vote as Helpful

    Thursday, April 21, 2016 9:19 AM

All replies

  • Hi George,
    Thank you for posting here

    I would suggest to refer the article which may help you on adding the operation to the API Management.

    Operations are added and configured to an API in the publisher portal.Select the desired API in publisher portal and select the operations tab

    Reference:https://msdn.microsoft.com/en-IN/library/azure/dn781423.aspx

    Hope it helps!

    Regards,
    Asha

    Tuesday, April 19, 2016 10:43 AM
  • Hi Asha,

    Thanks for the reply, but maybe you are not understanding what I'm asking for. I want to know how to tie an Azure Function to Rest Api that I create using the Azure API Management.  I did not see that in the documentation that you specified.

    Maybe again, I'm to blind and it is there right in front of me.

    Thanks for trying.

    George


    George



    • Edited by gharig Tuesday, April 19, 2016 10:48 PM
    Tuesday, April 19, 2016 8:31 PM
  • Hi,

    Greetings

    yes,it is definitely possible,as long as the function has an HTTP trigger .The it is essentially an API with a single POST operation.

    Here is the video it provide you an information on APIM working with a function: https://channel9.msdn.com/events/Build/2016/T695.

    Hope it helps!

    Regards,

    Asha

    -------------------------------------------------------------------------

    If a post answers your question, please click Mark As Answer on that post and Vote as Helpful

    Thursday, April 21, 2016 9:19 AM
  • Hi Asha,

    You hit the mark with the video.

    Thanks

    George


    George

    Friday, April 22, 2016 12:03 AM