azure - 在 VSTS 中使用arm模板将azure函数应用程序部署到Azure时出错

标签 azure azure-functions azure-pipelines azure-rm-template

我使用的 json 文件的 github url 是 https://github.com/morsh/functions 。在这里,我尝试在 Azure 中部署函数应用程序,但面临如下问题

Here's the error detail:
{
"Code": "BadRequest",
"Message": "The requested app service plan cannot be created in the current resource group because it is hosting Linux apps. Please choose a different resource group or create a new one.",
"Target": null,
"Details": [
{
"Message": "The requested app service plan cannot be created in the current resource group because it is hosting Linux apps. Please choose a different resource group or create a new one."
},
{
"Code": "BadRequest"
},
{
"ErrorEntity": {
"ExtendedCode": "59314",
"MessageTemplate": "The requested app service plan cannot be created in the current resource group because it is hosting Linux apps. Please choose a different resource group or create a new one.",
"Parameters": [],
"Code": "BadRequest",
"Message": "The requested app service plan cannot be created in the current resource group because it is hosting Linux apps. Please choose a different resource group or create a new one."
}
}
],
"Innererror": null
}

最佳答案

嗯,错误提示您应该在另一个资源组中创建应用服务计划。尝试一下,它应该可以解决所有问题。

https://learn.microsoft.com/en-us/azure/app-service/containers/app-service-linux-intro#limitations

关于azure - 在 VSTS 中使用arm模板将azure函数应用程序部署到Azure时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51542087/

相关文章:

azure - 从 Azure 功能调用 Azure Active Directory 密码重置策略

powershell - 如何使用 Function Apps 在 Azure 中使用 PowerShell 登录 AzureRmAccount

powershell - 如何使用 PowerShell 取消和删除队列中等待的构建

c# - VSTS 单元测试未执行

C++ - 使用在 azure 中托管的 C# REST-full WCF 服务

java - 如何访问 Azure 的 Tomcat 日志以进行 Java 应用服务部署

Azure 中的 Python Web Scraper

azure : VNet Integration || The gateway did not receive a response from 'Microsoft.Web'

azure - 在本地计算机上编译 Azure Functions(.csx 文件)

.net - 如何在 Azure Pipeline 期间创建包含 build.* 变量的文件