gpt4 book ai didi

azure - 如何从 Azure python sdk 创建 Azure Functions?

转载 作者:行者123 更新时间:2023-12-03 01:05:05 24 4
gpt4 key购买 nike

有关于如何使用 Azure Python SDK 创建 Azure Functions 的示例吗?

https://learn.microsoft.com/en-us/python/api/azure.mgmt.web.models.Site?view=azure-python正确的引用文献吗?

最佳答案

据我所知,没有明确的例子。但它肯定使用您指出的 azure-mgmt-web 包。您需要创建一个 AppPlan(或 serverfarm),然后创建一个“functionapp”类型的 Web 应用程序。

最接近的示例可能是查看 Azure CLI(用 Python 编写)正在做什么: https://github.com/Azure/azure-cli/blob/e0c49d6fd4778b8e0c8884a54bca1716a916763e/src/command_modules/azure-cli-appservice/azure/cli/command_modules/appservice/custom.py#L1613-L1684

关于azure - 如何从 Azure python sdk 创建 Azure Functions?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50971955/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com