[Elastic-SAN] az elastic-san: Support autoscale, prerestore, and prebackup#9413
[Elastic-SAN] az elastic-san: Support autoscale, prerestore, and prebackup#9413calvinhzy wants to merge 3 commits intoAzure:mainfrom
az elastic-san: Support autoscale, prerestore, and prebackup#9413Conversation
…up/test-restore` to 2025-09-01 from 2024-07-01-preview
️✔️Azure CLI Extensions Breaking Change Test
|
|
Hi @calvinhzy, |
|
Thank you for your contribution! We will review the pull request and get back to you soon. |
|
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). pip install azdev --upgrade
azdev setup -c <your azure-cli repo path> -r <your azure-cli-extensions repo path>
|
CodeGen Tools Feedback CollectionThank you for using our CodeGen tool. We value your feedback, and we would like to know how we can improve our product. Please take a few minutes to fill our codegen survey |
|
Hi @calvinhzy
|
There was a problem hiding this comment.
Pull Request Overview
This PR upgrades the az elastic-san extension from API version 2024-07-01-preview to 2025-09-01, bringing autoscale, prerestore (test-restore), and prebackup (test-backup) features to general availability (GA).
Key Changes:
- Updated API version from 2024-07-01-preview to 2025-09-01 for elastic-san CRUD operations and volume-group test-backup/test-restore commands
- Removed
is_previewflags from commands and autoscale-related parameters to reflect GA status - Updated minimum CLI core version requirement from 2.70.0 to 2.75.0
Reviewed Changes
Copilot reviewed 11 out of 17 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| src/elastic-san/azext_elastic_san/tests/latest/test_elastic_san.py | Added unittest import and skip decorator for soft delete test |
| src/elastic-san/azext_elastic_san/azext_metadata.json | Updated minimum CLI core version to 2.75.0 |
| src/elastic-san/azext_elastic_san/aaz/latest/elastic_san/volume_group/_test_restore.py | Updated API version to 2025-09-01 and removed preview flag |
| src/elastic-san/azext_elastic_san/aaz/latest/elastic_san/volume_group/_test_backup.py | Updated API version to 2025-09-01 and removed preview flag |
| src/elastic-san/azext_elastic_san/aaz/latest/elastic_san/_wait.py | Updated API version to 2025-09-01 |
| src/elastic-san/azext_elastic_san/aaz/latest/elastic_san/_update.py | Updated API version to 2025-09-01 and removed preview flags from autoscale parameters |
| src/elastic-san/azext_elastic_san/aaz/latest/elastic_san/_show.py | Updated API version to 2025-09-01 |
| src/elastic-san/azext_elastic_san/aaz/latest/elastic_san/_list_sku.py | Updated API version to 2025-09-01 and removed read_only flag from next_link schema |
| src/elastic-san/azext_elastic_san/aaz/latest/elastic_san/_list.py | Updated API version to 2025-09-01, removed read_only flag from next_link, and added required flag to value schema |
| src/elastic-san/azext_elastic_san/aaz/latest/elastic_san/_delete.py | Updated API version to 2025-09-01 |
| src/elastic-san/azext_elastic_san/aaz/latest/elastic_san/_create.py | Updated API version to 2025-09-01 and removed preview flags from autoscale parameters |
|
service changes, do not merge until later |
|
/azp run |
|
Azure Pipelines successfully started running 2 pipeline(s). |
…ore-prebackup-autoscale-ga
This checklist is used to make sure that common guidelines for a pull request are followed.
Related command
Upgrade
az elastic-sancrud andaz elastic-san volume-group test-backup/test-restoreto 2025-09-01 from 2024-07-01-previewGA autoscale, prerestore, prebackup features
Azure/aaz#900
General Guidelines
azdev style <YOUR_EXT>locally? (pip install azdevrequired)python scripts/ci/test_index.py -qlocally? (pip install wheel==0.30.0required)For new extensions:
About Extension Publish
There is a pipeline to automatically build, upload and publish extension wheels.
Once your pull request is merged into main branch, a new pull request will be created to update
src/index.jsonautomatically.You only need to update the version information in file setup.py and historical information in file HISTORY.rst in your PR but do not modify
src/index.json.