Skip to content

[App Service] az functionapp plan create: Add elastic premium as supported SKU for zone redundency#32319

Merged
yanzhudd merged 3 commits intoAzure:devfrom
khkh-ms:khkh-ep-plan-zone-r
Nov 10, 2025
Merged

[App Service] az functionapp plan create: Add elastic premium as supported SKU for zone redundency#32319
yanzhudd merged 3 commits intoAzure:devfrom
khkh-ms:khkh-ep-plan-zone-r

Conversation

@khkh-ms
Copy link
Contributor

@khkh-ms khkh-ms commented Oct 24, 2025

Related command
az functionapp plan create --name {name} --resource-group {resrouce-group} --location {region} --sku EP1 --zone-redundant --min-instances 3

Description

Add Elastic Premium as supported SKU for Zone Redundency

Testing Guide

Added the test coverage


This checklist is used to make sure that common guidelines for a pull request are followed.

@khkh-ms khkh-ms requested a review from jsntcy as a code owner October 24, 2025 21:18
Copilot AI review requested due to automatic review settings October 24, 2025 21:18
@azure-client-tools-bot-prd
Copy link

azure-client-tools-bot-prd bot commented Oct 24, 2025

️✔️AzureCLI-FullTest
️✔️acr
️✔️latest
️✔️3.12
️✔️3.13
️✔️acs
️✔️latest
️✔️3.12
️✔️3.13
️✔️advisor
️✔️latest
️✔️3.12
️✔️3.13
️✔️ams
️✔️latest
️✔️3.12
️✔️3.13
️✔️apim
️✔️latest
️✔️3.12
️✔️3.13
️✔️appconfig
️✔️latest
️✔️3.12
️✔️3.13
️✔️appservice
️✔️latest
️✔️3.12
️✔️3.13
️✔️aro
️✔️latest
️✔️3.12
️✔️3.13
️✔️backup
️✔️latest
️✔️3.12
️✔️3.13
️✔️batch
️✔️latest
️✔️3.12
️✔️3.13
️✔️batchai
️✔️latest
️✔️3.12
️✔️3.13
️✔️billing
️✔️latest
️✔️3.12
️✔️3.13
️✔️botservice
️✔️latest
️✔️3.12
️✔️3.13
️✔️cdn
️✔️latest
️✔️3.12
️✔️3.13
️✔️cloud
️✔️latest
️✔️3.12
️✔️3.13
️✔️cognitiveservices
️✔️latest
️✔️3.12
️✔️3.13
️✔️compute_recommender
️✔️latest
️✔️3.12
️✔️3.13
️✔️computefleet
️✔️latest
️✔️3.12
️✔️3.13
️✔️config
️✔️latest
️✔️3.12
️✔️3.13
️✔️configure
️✔️latest
️✔️3.12
️✔️3.13
️✔️consumption
️✔️latest
️✔️3.12
️✔️3.13
️✔️container
️✔️latest
️✔️3.12
️✔️3.13
️✔️containerapp
️✔️latest
️✔️3.12
️✔️3.13
️✔️core
️✔️latest
️✔️3.12
️✔️3.13
️✔️cosmosdb
️✔️latest
️✔️3.12
️✔️3.13
️✔️databoxedge
️✔️latest
️✔️3.12
️✔️3.13
️✔️dls
️✔️latest
️✔️3.12
️✔️3.13
️✔️dms
️✔️latest
️✔️3.12
️✔️3.13
️✔️eventgrid
️✔️latest
️✔️3.12
️✔️3.13
️✔️eventhubs
️✔️latest
️✔️3.12
️✔️3.13
️✔️feedback
️✔️latest
️✔️3.12
️✔️3.13
️✔️find
️✔️latest
️✔️3.12
️✔️3.13
️✔️hdinsight
️✔️latest
️✔️3.12
️✔️3.13
️✔️identity
️✔️latest
️✔️3.12
️✔️3.13
️✔️iot
️✔️latest
️✔️3.12
️✔️3.13
️✔️keyvault
️✔️latest
️✔️3.12
️✔️3.13
️✔️lab
️✔️latest
️✔️3.12
️✔️3.13
️✔️managedservices
️✔️latest
️✔️3.12
️✔️3.13
️✔️maps
️✔️latest
️✔️3.12
️✔️3.13
️✔️marketplaceordering
️✔️latest
️✔️3.12
️✔️3.13
️✔️monitor
️✔️latest
️✔️3.12
️✔️3.13
️✔️mysql
️✔️latest
️✔️3.12
️✔️3.13
️✔️netappfiles
️✔️latest
️✔️3.12
️✔️3.13
️✔️network
️✔️latest
️✔️3.12
️✔️3.13
️✔️policyinsights
️✔️latest
️✔️3.12
️✔️3.13
️✔️privatedns
️✔️latest
️✔️3.12
️✔️3.13
️✔️profile
️✔️latest
️✔️3.12
️✔️3.13
️✔️rdbms
️✔️latest
️✔️3.12
️✔️3.13
️✔️redis
️✔️latest
️✔️3.12
️✔️3.13
️✔️relay
️✔️latest
️✔️3.12
️✔️3.13
️✔️resource
️✔️latest
️✔️3.12
️✔️3.13
️✔️role
️✔️latest
️✔️3.12
️✔️3.13
️✔️search
️✔️latest
️✔️3.12
️✔️3.13
️✔️security
️✔️latest
️✔️3.12
️✔️3.13
️✔️servicebus
️✔️latest
️✔️3.12
️✔️3.13
️✔️serviceconnector
️✔️latest
️✔️3.12
️✔️3.13
️✔️servicefabric
️✔️latest
️✔️3.12
️✔️3.13
️✔️signalr
️✔️latest
️✔️3.12
️✔️3.13
️✔️sql
️✔️latest
️✔️3.12
️✔️3.13
️✔️sqlvm
️✔️latest
️✔️3.12
️✔️3.13
️✔️storage
️✔️latest
️✔️3.12
️✔️3.13
️✔️synapse
️✔️latest
️✔️3.12
️✔️3.13
️✔️telemetry
️✔️latest
️✔️3.12
️✔️3.13
️✔️util
️✔️latest
️✔️3.12
️✔️3.13
️✔️vm
️✔️latest
️✔️3.12
️✔️3.13

@azure-client-tools-bot-prd
Copy link

Hi @khkh-ms,
Since the current milestone time is less than 7 days, this pr will be reviewed in the next milestone.

@azure-client-tools-bot-prd
Copy link

azure-client-tools-bot-prd bot commented Oct 24, 2025

️✔️AzureCLI-BreakingChangeTest
️✔️Non Breaking Changes

@yonzhan
Copy link
Collaborator

yonzhan commented Oct 24, 2025

Thank you for your contribution! We will review the pull request and get back to you soon.

@github-actions
Copy link

The git hooks are available for azure-cli and azure-cli-extensions repos. They could help you run required checks before creating the PR.

Please sync the latest code with latest dev branch (for azure-cli) or main branch (for azure-cli-extensions).
After that please run the following commands to enable git hooks:

pip install azdev --upgrade
azdev setup -c <your azure-cli repo path> -r <your azure-cli-extensions repo path>

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR enables Elastic Premium SKUs (EP1, EP2, EP3) to support zone redundancy in Azure Function App plans. Previously, zone redundancy was only available for Premium V2/V3/V4 and Isolated V2 SKUs.

Key changes:

  • Added 'ELASTICPREMIUM' to the list of supported SKUs for zone redundancy
  • Added three test cases to verify zone redundancy works with EP1, EP2, and EP3 SKUs

Reviewed Changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
_validators.py Updated supported SKU list to include ELASTICPREMIUM for zone redundancy validation
test_functionapp_commands.py Added three new test methods for EP1, EP2, and EP3 zone redundancy scenarios
test_functionapp_create_elastic_premium_zone_redundant_plan.yaml Test recording for EP1 zone redundancy test
test_functionapp_create_elastic_premium_ep2_zone_redundant_plan.yaml Test recording for EP2 zone redundancy test
test_functionapp_create_elastic_premium_ep3_zone_redundant_plan.yaml Test recording for EP3 zone redundancy test

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

code: 200
message: OK
- request:
body: '{"location": "francecentral", "sku": {"name": "EP1", "tier": "ElasticPremium",
Copy link

Copilot AI Oct 24, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The test recording for EP2 is using 'EP1' as the SKU name instead of 'EP2'. This indicates the test recording does not match the test method name and may not properly validate EP2 zone redundancy support.

Suggested change
body: '{"location": "francecentral", "sku": {"name": "EP1", "tier": "ElasticPremium",
body: '{"location": "francecentral", "sku": {"name": "EP2", "tier": "ElasticPremium",

Copilot uses AI. Check for mistakes.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

outdated

Copy link
Contributor

@kamperiadis kamperiadis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@yanzhudd yanzhudd merged commit 8c6deaa into Azure:dev Nov 10, 2025
48 checks passed
@yanzhudd yanzhudd changed the title {App Service} az functionapp plan create: Add Elastic Premium as supported SKU for Zone Redundency [App Service] az functionapp plan create: Add Elastic Premium as supported SKU for Zone Redundency Nov 10, 2025
@yanzhudd yanzhudd changed the title [App Service] az functionapp plan create: Add Elastic Premium as supported SKU for Zone Redundency [App Service] az functionapp plan create: Add elastic premium as supported SKU for zone redundency Nov 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Auto-Assign Auto assign by bot Functions az functionapp

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants