我无法在已包含 Linux 上托管的 2 个应用服务的资源组中创建 Azure Function App(根据消费计划托管在 Linux 上)。我收到一条错误(来自 Azure 门户),指出“请求的功能在资源组中不可用”。 在同一 RG 中的 Linux 上拥有动态和应用服务计划是否有任何限制?
这是完整的错误:
<b>
{
"Code": "BadRequest",
"Message": "Requested feature is not available in resource group *******. Please try using a different resource group or create a new one.",
"Target": null,
"Details": [
{
"Message": "Requested feature is not available in resource group ********. Please try using a different resource group or create a new one."
},
{
"Code": "BadRequest"
},
{
"ErrorEntity": {
"ExtendedCode": "59324",
"MessageTemplate": "Requested feature is not available in resource group {0}. Please try using a different resource group or create a new one.",
"Parameters": [
"************"
],
"Code": "BadRequest",
"Message": "Requested feature is not available in resource group *******. Please try using a different resource group or create a new one."
}
}
],
"Innererror": null
}
</b>
我还附上了我尝试创建的功能应用程序的屏幕截图:
最佳答案
找到解决办法了吗?
我在通过 ARM 模板创建它时遇到了同样的问题。
有一种方法可以做到这一点(尽管在欧盟西部尝试过):
- 创建新资源组
- 在新的 RG 中创建您的函数
- 将您的功能计划、存储和功能移至所需的 RG
我希望能够从 ARM 或通过接口(interface)创建相同的计划。如果有人找到方法请告诉我。我宁愿通过 ARM 模板来完成,因此可以控制计划的名称..
编辑:
如果您先创建消费计划,然后创建应用服务计划,那么它也应该有效。
从界面:只需创建一个linux版本的函数应用程序,然后就应该创建计划。然后添加linux应用服务计划。
来自 ARM:只需使应用服务计划取决于消费计划即可。
如果我们将来了解更多,我会更新..
关于azure - 无法在同一资源组中创建 Linux 功能应用程序(消耗计划)和 Linux 应用程序服务计划,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59688315/