【发布时间】:2020-09-30 16:28:06
【问题描述】:
我正在查看 Azure 提供的用于创建 API 管理用户和“订阅密钥”的以下文档:https://docs.microsoft.com/en-us/azure/api-management/scripts/powershell-add-user-and-get-subscription-key?toc=/powershell/module/toc.json
所以似乎有某种方式可以通过 http 请求或类似的方式触发用户创建。就像您知道 Google Cloud Functions 如何让您在收到发布/订阅消息时触发 Python 脚本一样?除了这个 API Management Azure shell 脚本之外,我还需要它,并且我还需要以某种方式返回输出订阅密钥。
Azure 中是否支持可以访问 Azure CLI 并返回生成的订阅密钥的 shell 脚本批处理作业?
【问题讨论】:
标签: azure powershell azure-functions azure-api-management azure-cli