如何从 Azure python sdk 创建 Azure Functions?
how to create Azure Functions from Azure python sdk?
关于如何使用 Azure Python SDK 创建 Azure Functions 的任何示例?
https://docs.microsoft.com/en-us/python/api/azure.mgmt.web.models.Site?view=azure-python 是它的正确参考吗?
据我所知没有明确的例子。但它肯定是在使用您指向的 azure-mgmt-web 包。您需要创建一个 AppPlan(或服务器场),然后是一个 "functionapp".
类型的 webapp
最接近示例的可能是查看 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 Python SDK 创建 Azure Functions 的任何示例?
https://docs.microsoft.com/en-us/python/api/azure.mgmt.web.models.Site?view=azure-python 是它的正确参考吗?
据我所知没有明确的例子。但它肯定是在使用您指向的 azure-mgmt-web 包。您需要创建一个 AppPlan(或服务器场),然后是一个 "functionapp".
类型的 webapp最接近示例的可能是查看 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