Initial commit - update api version to 2025-06-05, remove is_preview …#31716
Initial commit - update api version to 2025-06-05, remove is_preview …#31716
Conversation
|
Validation for Azure CLI Full Test Starting...
Thanks for your contribution! |
|
Validation for Breaking Change Starting...
Thanks for your contribution! |
|
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>
|
There was a problem hiding this comment.
Pull Request Overview
This PR updates the spot-placement-recommender command from preview to GA by removing preview flags and bumping the API version to 2025-06-05.
- Removed all
is_preview=Trueflags from the command registration and argument definitions - Updated
_aaz_infoversion strings and theapi-versionquery parameter to "2025-06-05"
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| src/azure-cli/azure/cli/command_modules/compute_recommender/aaz/latest/compute_recommender/_spot_placement_recommender.py | Removed preview flags and updated API version lines |
| src/azure-cli/azure/cli/command_modules/compute_recommender/aaz/latest/compute_recommender/__cmd_group.py | Removed preview flag from command group registration |
Comments suppressed due to low confidence (2)
src/azure-cli/azure/cli/command_modules/compute_recommender/aaz/latest/compute_recommender/_spot_placement_recommender.py:154
- No tests have been updated to cover the new GA API version; please add or update unit tests to verify requests using 2025-06-05.
"api-version", "2025-06-05",
src/azure-cli/azure/cli/command_modules/compute_recommender/aaz/latest/compute_recommender/_spot_placement_recommender.py:25
- [nitpick] The API version string is duplicated in multiple places; consider defining it as a shared constant to reduce duplication and simplify future updates.
"version": "2025-06-05",
|
Since the |
…flags
Related command
az compute-recommender spot-placement-recommender
Description
Change the azure cli spot-placement-recommender command status from preview to GA API version 2025-06-05
Testing Guide
History Notes
[Component Name 1] BREAKING CHANGE:
az command a: Make some customer-facing breaking change[Component Name 2]
az command b: Add some customer-facing featureThis checklist is used to make sure that common guidelines for a pull request are followed.
The PR title and description has followed the guideline in Submitting Pull Requests.
I adhere to the Command Guidelines.
I adhere to the Error Handling Guidelines.