@David Michailis ,Welcome to Microsoft Q&A Platform!
Thanks for reaching out your query on fetching the list of Operations across all API's
You are correct in your approach using an Azure Function, as it is better suited for this task. Azure Functions can handle complex logic like iterating through APIs, aggregating operation counts, and returning a consolidated result. They are scalable, reusable, and provide better debugging and logging capabilities compared to APIM policies. Additionally, Azure Functions avoid the limitations of APIM, such as rate limits, processing time constraints, and performance bottlenecks for heavy computation.
APIM is not a feasible solution for this requirement because it is designed for lightweight request transformations and routing rather than complex processing. It lacks the ability to perform iterations or aggregation logic efficiently and may encounter timeouts or performance issues when handling multiple external API calls. This makes Azure Functions the ideal choice for your use case. Hope this helps. Do let us know if you any further queries.
If this answers your query, do click Accept Answer
and Yes
for was this answer helpful. And, if you have any further query do let us know.