New Isolated v2 (I4v2, I5v2, I6v2) Azure App Service Plan Tiers Not Supported in CLI
See original GitHub issue
az feedback
auto-generates most of the information requested below, as of CLI version 2.0.62
Related command
az appservice list-locations --sku I5v2
az appservice plan update --name PLAN_NAME -g PLAN_RG --sku "I4v2"
Describe the bug
I was taking a look at the new Isolated v2 SKUs announced on the appservice blog and tried to use CLI appservice commands like list-locations
and update
with the new SKUs (I4v2, I5v2, I6v2) but they appear to not work with the CLI even though they’re referenced in the blog as being available with the latest CLI 2.43.0 and are referenced throughout the help documentation
To Reproduce
- Verify CLI is on version 2.43.0 with
az version
- Perform
az appservice list-locations --sku I5v2
- See CLI returns error "Invalid sku(pricing tier), please refer to command help for valid values " when SKUs I(4-6)v2 are passed in
- If testing update/create, provision an ASEv3 in North Central US & provision a plan on it.
- Perform an update
az appservice plan update --name PLAN_NAME -g PLAN_RG --sku "I4v2"
- See CLI returns error “Invalid sku(pricing tier), please refer to command help for valid values”
Expected behavior
Expected that the CLI existing behaviors (list-locations, update) work with the newly added Azure App Service SKUs I4v2, I5v2, I6v2.
Environment summary
- CLI Version: 2.43.0
- OS Version: Mac OS Monterey 12.6
- Shell Type: fish
Additional context
These tiers were released recently and the other older tiers in the Isolatedv2 family appear to work with the CLI.
Issue Analytics
- State:
- Created 9 months ago
- Comments:6 (3 by maintainers)
Top GitHub Comments
Hi,
we are building out special geoRegion API for ASE to allow returning only the regions in which the SKU exists. It will take a few cycles before it is ready to use from the CLI.
@navba-MSFT
On a separate note, is this the correct usage of the geo regions API? It looks like you can only pass the app service family name for the sku parameter with a predetermined SkuName item ie “PremumV3” or “IsolatedV2” and you cannot pass in the tier name ie I5v2 based on the docs.
https://learn.microsoft.com/en-us/rest/api/appservice/list-geo-regions/list-geo-regions#skuname
This is also related to that endpoint. The new tiers in Isolated v2 (I4-6 v2) are in the Isolated v2 family but are only in two regions compared to the other members of the family which are available in many more. Would this mean that for example, the API would say that I4v2 is available in a region I2v2 is available in since the API appears to be considering family and not tier?
I also saw that this API call is returning back quite a few regions even though I expect it to only return the two preview regions (North Central US & West Central US). The endpoint seems to also return all regions when passing in invalid skunames like random strings.
az rest --url "https://management.azure.com/subscriptions/XXX-XXX/providers/Microsoft.Web/geoRegions?api-version=2022-03-01&sku=RANDOMSTRING"