Azure API Management with Function App - 未显示所有功能
Azure API Management with Function App - not showing all functions
我有一个 Azure Functions 应用程序,它有大约 15 个函数(API 调用)。该项目使用 Swashbuckle。当我转到门户时,select 函数应用程序和 select“函数”我可以看到所有 15 个函数。当我将 Function App 导入 Azure API Management 时,它只看到“Swagger”和“SwaggerUI”函数——其余的都不见了。
我查看了功能配置和 azure API 管理,但找不到答案。任何帮助表示赞赏。
When I go to the portal, select the function app, and select
"Functions" I can see all 15 functions. When I import the Function App
into Azure API Management, it only sees the "Swagger" and "SwaggerUI"
functions - the rest are missing.
正如 Turbot 所说,并不是所有的功能都会被加载。请确保您的函数基于 httptrigger 而不是其他触发器。
谢谢 - 其他功能的授权级别设置为“管理员”。将其更改为“功能”解决了问题!
如上所述,您需要检查 2 个点
- 您只能导入基于 HTTP 触发器的函数
- 确保授权级别设置为匿名或功能
你可以接受这个问题的答案,加油!
我有一个 Azure Functions 应用程序,它有大约 15 个函数(API 调用)。该项目使用 Swashbuckle。当我转到门户时,select 函数应用程序和 select“函数”我可以看到所有 15 个函数。当我将 Function App 导入 Azure API Management 时,它只看到“Swagger”和“SwaggerUI”函数——其余的都不见了。
我查看了功能配置和 azure API 管理,但找不到答案。任何帮助表示赞赏。
When I go to the portal, select the function app, and select "Functions" I can see all 15 functions. When I import the Function App into Azure API Management, it only sees the "Swagger" and "SwaggerUI" functions - the rest are missing.
正如 Turbot 所说,并不是所有的功能都会被加载。请确保您的函数基于 httptrigger 而不是其他触发器。
谢谢 - 其他功能的授权级别设置为“管理员”。将其更改为“功能”解决了问题!
如上所述,您需要检查 2 个点
- 您只能导入基于 HTTP 触发器的函数
- 确保授权级别设置为匿名或功能
你可以接受这个问题的答案,加油!