gpt4 book ai didi

Azure 服务计划 - 将消费应用程序转换为高级应用程序

转载 作者:行者123 更新时间:2023-12-02 07:45:19 25 4
gpt4 key购买 nike

标题基本上说明了一切。我的消费计划中有一个功能应用程序,我需要将其放入 P2V2 上。是否可以转换消耗计划,或者我是否需要重新部署到新的资源组?

最佳答案

试试这个:

  1. 创建新的 AppService 计划

  2. 打开 CloudShell (PowerShell)

  3. 运行命令

    • 选择-AzureRmSubscription -SubscriptionId“[id]”
    • Set-AzureRmWebApp -Name "[函数名称]"-ResourceGroupName "[资源组]"-AppServicePlan "[新应用服务计划名称]"

来源:https://github.com/Azure/Azure-Functions/issues/155#issuecomment-619980271

<小时/>

反之亦然,请将功能从应用服务计划移至消耗计划,使用 Azure 资源浏览器:

来源: https://www.gitmemory.com/issue/Azure/Azure-Functions/155/747559677我可以使用 https://resources.azure.com/ 将我的功能从应用程序服务计划移回消费计划网站。

Enter edit mode, find your Function App and change the following:

{
serverFarmId: "..../<your-consumption-app-service-name>"
...
// Scroll a bit down
sku: "Dynamic"
}
Update the resource and you are done.

Make sure that you turn Always On off in the App Service Plan settings before the resource update to make this work.

关于Azure 服务计划 - 将消费应用程序转换为高级应用程序,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/61148353/

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