是否可以将 Azure网站 迁移到不同的(或新的)应用服务计划?
我已经尝试了旧版和新版门户,但找不到相关选项。
是否可以将 Azure网站 迁移到不同的(或新的)应用服务计划?
我已经尝试了旧版和新版门户,但找不到相关选项。
原本被接受的答案已经超过一年了,在Azure世界里,那是个漫长的时间。在Azure Portal中,“更改应用程序计划”按钮似乎已经不再存在(截至2016-06-17),所以我在这里提供需要使用的PowerShell命令,以便将Web应用程序移动到另一个应用服务计划。
Set-AzureRmWebApp -Name <webapp name> -ResourceGroupName <resource group name> -AppServicePlan <new app service plan>
Set-AzureRmWebAppSlot -Name <webapp name> -Slot <slot name> -ResourceGroupName <resource group name> -AppServicePlan <new app service plan>