gpt4 book ai didi

azure-resource-manager - 无法在当前资源组中创建请求的应用服务计划,因为它正在托管 Linux 应用

转载 作者:行者123 更新时间:2023-12-04 14:21:14 30 4
gpt4 key购买 nike

我正在使用 ARM 模板向现有资源组配置应用服务、应用服务计划和存储帐户。每晚这样做。几个月来一切正常,但突然开始看到这样的错误:

{
"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
' Error code: 1201
}

ARM 模板没有变化。

我没有使用此订阅创建新资源组的权限,只有该现有资源组的资源组所有者。

最佳答案

Historically, you can't mix Windows and Linux apps in the same resource group. However, all resource groups created on or after January 21, 2021 do support this scenario. For resource groups created before January 21, 2021, the ability to add mixed platform deployments will be rolled out across Azure regions (including National cloud regions) soon.

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

另请参阅在同一资源组中支持 Linux 和 Windows 应用服务计划的功能请求: https://feedback.azure.com/forums/169385-web-apps/suggestions/37287583-allow-a-linux-and-windows-app-service-plan-to-exis

关于azure-resource-manager - 无法在当前资源组中创建请求的应用服务计划,因为它正在托管 Linux 应用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/54577245/

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