有什么方法可以自定义 HTTP 请求触发器的 URL 吗?

Is there any way to customize the URL of a HTTP request trigger?

我的逻辑应用程序 HTTP url 是这样的:

https://prod-98.eastus.logic.azure.com/workflows/8767e7ecd19c45adbfb01d681e35a888/triggers/manual/paths/invoke/ABCDEFG/api-version=2016-10-01&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=U-M0hnvs9BICC_JV7_nTJRQhWg5oZnD_SVo9Sbm03oo

不象样。

我喜欢使 HTTP 请求触发器的 URL 更加优美和美观。

有什么方法可以自定义 HTTP 请求触发器的 URL 吗?

使用干净的自定义 DNS 和 URL 路径(如 https://MyDnsName.com/Path/Action )是首选解决方案,但任何比当前提供的更好的解决方案都可以。

据我所知,When a HTTP request is received触发器会自动生成URL,无法手动更改。

此 URL 包括指定用于身份验证的共享访问签名 (SAS) 密钥的查询参数。

我还没想好怎么把URL完全自定义成https://MyDnsName.com/Path/Action,不过有两种方法可以让它看起来更有意义

1. 功能应用代理

在你之后[​​=14=]。

创建 Azure Function App 代理后,您的 URL 格式如下:

https://<function-name>.azurewebsites.net/xxx

2. API 管理

creating an Azure API Management service instance, you can customize the URL suffix之后。

创建API管理后,你的URL是这样的:

https://<API management-name>.azure-api.net/xxx