Azure / azure-powershell

Microsoft Azure PowerShell
Other
4.21k stars 3.81k forks source link

[Feature]: New-AzAppServicePlan does not support P5mv3 #21933

Closed yuna-s closed 1 year ago

yuna-s commented 1 year ago

Description of the new feature

New-AzAppServicePlan does not support new version of PremiumV3 tier(P5mV3). cf. https://learn.microsoft.com/en-us/azure/app-service/app-service-configure-premium-tier

Steps to reproduce

$ResourceGroupName = "temp"
$Location = "East Japan"
$Tier = "PremiumMV3"
$AppServicePlanName = "app-plan-p5mv3"

$ResourceGroup = New-AzResourceGroup -Name $ResourceGroupName -Location $Location
$JobAppServicePlan = New-AzAppServicePlan -ResourceGroupName $ResourceGroupName -Location $Location -Name $AppServicePlanName -Tier $Tier

I can create a P5MV3 plan with az command in the region.

az appservice plan create -g temp -n AppServicePlan --sku P5MV3 --location JapanEast

Proposed implementation details (optional)

Module versions

ModuleType Version    PreRelease Name                                ExportedCommands
---------- -------    ---------- ----                                ----------------
Script     2.12.3                Az.Accounts                         {Add-AzEnvironment, Clear-AzConfig, Clear-AzContext, Clear-AzDefault…}
Script     3.0.0                 Az.Websites                         {Add-AzWebAppAccessRestrictionRule, Add-AzWebAppTrafficRouting, Edit-AzWebAppBackupConfiguration, Get-AzAppServiceEnvironment…}
Manifest   7.0.0.0               Microsoft.PowerShell.Management     {Add-Content, Clear-Content, Clear-Item, Clear-ItemProperty…}
Manifest   7.0.0.0               Microsoft.PowerShell.Security       {ConvertFrom-SecureString, ConvertTo-SecureString, Get-Acl, Get-AuthenticodeSignature…}
Manifest   7.0.0.0               Microsoft.PowerShell.Utility        {Add-Member, Add-Type, Clear-Variable, Compare-Object…}
Script     1.4.8.1               PackageManagement                   {Find-Package, Find-PackageProvider, Get-Package, Get-PackageProvider…}
Script     2.2.5                 PowerShellGet                       {Find-Command, Find-DscResource, Find-Module, Find-RoleCapability…}
Script     2.2.6                 PSReadLine                          {Get-PSReadLineKeyHandler, Get-PSReadLineOption, Remove-PSReadLineKeyHandler, Set-PSReadLineKeyHandler…}
ghost commented 1 year ago

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @antcp, @AzureAppServiceCLI.

Issue Details
### Description of the new feature New-AzAppServicePlan does not support new version of PremiumV3 tier(P5mV3). cf. https://learn.microsoft.com/en-us/azure/app-service/app-service-configure-premium-tier # Steps to reproduce ```powershell $ResourceGroupName = "temp" $Location = "East Japan" $Tier = "PremiumMV3" $AppServicePlanName = "app-plan-p5mv3" $ResourceGroup = New-AzResourceGroup -Name $ResourceGroupName -Location $Location $JobAppServicePlan = New-AzAppServicePlan -ResourceGroupName $ResourceGroupName -Location $Location -Name $AppServicePlanName -Tier $Tier ``` I can create a P5MV3 plan with az command in the region. ```powershell az appservice plan create -g temp -n AppServicePlan --sku P5MV3 --location JapanEast ``` ### Proposed implementation details (optional) # Module versions ```powershell ModuleType Version PreRelease Name ExportedCommands ---------- ------- ---------- ---- ---------------- Script 2.12.3 Az.Accounts {Add-AzEnvironment, Clear-AzConfig, Clear-AzContext, Clear-AzDefault…} Script 3.0.0 Az.Websites {Add-AzWebAppAccessRestrictionRule, Add-AzWebAppTrafficRouting, Edit-AzWebAppBackupConfiguration, Get-AzAppServiceEnvironment…} Manifest 7.0.0.0 Microsoft.PowerShell.Management {Add-Content, Clear-Content, Clear-Item, Clear-ItemProperty…} Manifest 7.0.0.0 Microsoft.PowerShell.Security {ConvertFrom-SecureString, ConvertTo-SecureString, Get-Acl, Get-AuthenticodeSignature…} Manifest 7.0.0.0 Microsoft.PowerShell.Utility {Add-Member, Add-Type, Clear-Variable, Compare-Object…} Script 1.4.8.1 PackageManagement {Find-Package, Find-PackageProvider, Get-Package, Get-PackageProvider…} Script 2.2.5 PowerShellGet {Find-Command, Find-DscResource, Find-Module, Find-RoleCapability…} Script 2.2.6 PSReadLine {Get-PSReadLineKeyHandler, Get-PSReadLineOption, Remove-PSReadLineKeyHandler, Set-PSReadLineKeyHandler…} ```
Author: yuna-s
Assignees: -
Labels: `App Services`, `feature-request`, `Service Attention`
Milestone: -
Kotasudhakarreddy commented 1 year ago

Issue has been fixed. But still you can only use it until P4MV3, because in PowerShell we are supporting only 4 Workers.