Azure Functions 和 Azure 应用程序网关或 API 管理 [英] Azure Functions and Azure Application Gateway or API Management

查看:22
本文介绍了Azure Functions 和 Azure 应用程序网关或 API 管理的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我开发了几个 Microsoft Azure 功能.我想使用带防火墙的网关来使我的 Azure 功能可用并仅使用一个公共 IP 进行保护.

I have several Microsoft Azure functions developed. I would like to use a gateway with firewall to make my Azure functions available and protected using one public IP only.

有没有办法将 Azure Functions 与 Azure 应用程序网关或 API 管理一起使用?

Is there way to use Azure Functions with Azure Application Gateway or API Management?

在这种情况下,最好的方法是什么?

What would be the best approach in this case?

推荐答案

Azure API 管理允许您为所有客户提供单一访问点.

Azure API management allows you to provide a single access point for all your customers.

如果您已创建 HTTP 触发的 Azure 函数(或任何 SOAP 或 REST 服务),则可以使用 API 管理为该函数提供中央访问点.这允许您进行负载平衡/热交换/速率限制/身份验证和授权/IP 白名单等等.

If you've made a HTTP triggered Azure Function (or any SOAP or REST service for that matter), you can use API management to provide a central access point for this function. This allows you to do load balancing / hot swapping / rate limiting / authentication and authorization / IP whitelisting and more.

有关 HTTP 触发函数的更多信息,请参见此处:https://docs.microsoft.com/en-us/azure/azure-functions/functions-create-serverless-api

See here for some more info on HTTP triggered functions: https://docs.microsoft.com/en-us/azure/azure-functions/functions-create-serverless-api

请参阅此处了解如何为您的 Azure 函数创建开放 API:https://docs.microsoft.com/en-us/azure/azure-functions/functions-openapi-definition

See here for how to create an Open API for your Azure Function: https://docs.microsoft.com/en-us/azure/azure-functions/functions-openapi-definition

这篇关于Azure Functions 和 Azure 应用程序网关或 API 管理的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆