简体   繁体   中英

Upgrade Azure App Service with Powershell

I am trying to upgrade an app service plan(ASP) to the specific premium tier P2V3 from S1 .

I am using the following piece of code:

Set-AzAppServicePlan -ResourceGroupName "<RG Group Name>" -Name "<App service Name>" -Tier "PremiumV3" -WorkerSize Medium | Out-null;

It is upgrading from S1 to P1 . Any clue on this? would greatly appreciate it. couldn't find similar post.

I have tested in my environment to upgrade my App service plan fromP2V3 from S1.

  • Created an app service plan with S1 Plan. 在此处输入图像描述

To upgrade our Azure appservice plan to premium tier P2V3 from S1 we need to run the below cmd

Set-AzAppServicePlan -ResourceGroupName "nameofrg" -Name "Ajupgrade" -Tier "PremiumV3" -WorkerSize "Medium"

Here is output screenshot for reference: 在此处输入图像描述 在此处输入图像描述

For more information please refer this MS DOC & SO THREAD

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM