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

查看:82
本文介绍了Azure函数和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 Application Gateway或API Management一起使用?

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触发函数的更多信息,请参见此处:

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/zh-CN/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函数和Azure应用程序网关或API管理的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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