如何限制每个 user/ip/mac/etc 的 Azure Functions 调用?

How to limit Azure Functions Calls per user/ip/mac/etc?

我正在使用对我来说非常有用的 azure 函数。 但我担心的是: 例如,我如何避免黑客为了攻击我或提高我的账单而进行“大量 api 呼叫”?

只需在您的 Azure Functions 及其速率限制/节流策略前使用 API 管理:

https://docs.microsoft.com/en-us/azure/api-management/api-management-sample-flexible-throttling