I'm trying to deploy an app service plan (ASP) in the premium tier using powershell. I can deploy the ASP successfully but the ASP defaults to P2v1 which is not what I want. I need the ASP to be set to P2V2 in the premium tier.
I can't figure out or find how to specify the size when executing the powershell command. Here's my command:
New-AzAppServicePlan -Name $AppServicePlan -Location $location -ResourceGroupName $ResourceGroup -Tier "PremiumV2"
If somebody can explain how I can update my command so the ASP is set to Premium P2V2 I would greatly appreciate it.