Mapping Resources to Azure Functions

Graham Allwood 306 Reputation points
2021-03-18T21:16:32.143+00:00

Hi,

What is the best way to achieve the following using APIM and a function app?:

I want the api to contain two resources:

GET /resource1
GET /resource2

The data is coming from a Azure Function app with two functions called GetResource1 and GetResource2

Do I import the API from the Azure Function, or an OpenAPI spec and do the mapping myself? How do I do this mapping?

Can I auto generate an OpenAPI spec in my Function App project somehow? Should I do it by hand?

Ultimately looking at doing this from an ARM template - but not got to that bit yet!!

Any help or links would be welcome.

Thanks

Graham

Azure API Management
Azure API Management

An Azure service that provides a hybrid, multi-cloud management platform for APIs.

Azure Functions
Azure Functions

An Azure service that provides an event-driven serverless compute platform.

0 comments No comments

1 answer

Sort by: Oldest
  1. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.

    8 deleted comments

    Comments have been turned off. Learn more

Your answer

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