standbypool: upgrade to API version 2025-10-01#9682
Conversation
|
| rule | cmd_name | rule_message | suggest_message |
|---|---|---|---|
| standby-container-group-pool create | cmd standby-container-group-pool create added parameter dynamic_sizing_enabled |
||
| standby-container-group-pool update | cmd standby-container-group-pool update added parameter dynamic_sizing_enabled |
||
| standby-container-group-pool update | cmd standby-container-group-pool update added parameter generic_update_add |
||
| standby-container-group-pool update | cmd standby-container-group-pool update added parameter generic_update_force_string |
||
| standby-container-group-pool update | cmd standby-container-group-pool update added parameter generic_update_remove |
||
| standby-container-group-pool update | cmd standby-container-group-pool update added parameter generic_update_set |
||
| standby-container-group-pool update | cmd standby-container-group-pool update added parameter no_wait |
||
| standby-vm-pool create | cmd standby-vm-pool create added parameter dynamic_sizing_enabled |
||
| standby-vm-pool create | cmd standby-vm-pool create added parameter post_provisioning_delay |
||
| standby-vm-pool update | cmd standby-vm-pool update added parameter dynamic_sizing_enabled |
||
| standby-vm-pool update | cmd standby-vm-pool update added parameter generic_update_add |
||
| standby-vm-pool update | cmd standby-vm-pool update added parameter generic_update_force_string |
||
| standby-vm-pool update | cmd standby-vm-pool update added parameter generic_update_remove |
||
| standby-vm-pool update | cmd standby-vm-pool update added parameter generic_update_set |
||
| standby-vm-pool update | cmd standby-vm-pool update added parameter no_wait |
||
| standby-vm-pool update | cmd standby-vm-pool update added parameter post_provisioning_delay |
|
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 |
There was a problem hiding this comment.
Pull request overview
Upgrades the standbypool Azure CLI extension to the 2025-10-01 management-plane API, regenerating AAZ command implementations and updating scenarios/recordings to validate new API surface (notably DynamicSizing and PostProvisioningDelay) while bumping the extension major version.
Changes:
- Bump extension version to
3.0.0and raise min CLI core requirement. - Regenerate Standby VM Pool and Standby Container Group Pool AAZ commands for
api-version=2025-10-01, adding--dynamic-sizing-enabledand VM pool--post-provisioning-delay/--provision-delay. - Update scenario tests and recordings to reflect new request/response shape and new flags.
Reviewed changes
Copilot reviewed 18 out of 20 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| src/standbypool/setup.py | Bumps extension package version to 3.0.0. |
| src/standbypool/HISTORY.rst | Adds 3.0.0 changelog entry describing API bump and new flags. |
| src/standbypool/azext_standbypool/azext_metadata.json | Raises azext.minCliCoreVersion to 2.75.0. |
| src/standbypool/azext_standbypool/tests/latest/test_standbypool.py | Updates scenario tests to use subscription-scoped IDs and validate new elasticity properties. |
| src/standbypool/azext_standbypool/tests/latest/recordings/test_standby_virtual_machine_pool_scenarios.yaml | Updates live-test recording to new CLI/runtime + new API/fields. |
| src/standbypool/azext_standbypool/aaz/latest/standby_vm_pool/_create.py | Regenerated standby-vm-pool create for 2025-10-01; adds dynamic sizing + post provisioning delay. |
| src/standbypool/azext_standbypool/aaz/latest/standby_vm_pool/_update.py | Regenerated standby-vm-pool update with no-wait + generic-update flow and new properties. |
| src/standbypool/azext_standbypool/aaz/latest/standby_vm_pool/_show.py | Updates show schema and API version; includes new elasticity properties in schema. |
| src/standbypool/azext_standbypool/aaz/latest/standby_vm_pool/_list.py | Updates list commands to 2025-10-01 and extends response schema for new properties. |
| src/standbypool/azext_standbypool/aaz/latest/standby_vm_pool/_delete.py | Updates delete command API version and examples. |
| src/standbypool/azext_standbypool/aaz/latest/standby_vm_pool/_status.py | Updates runtime view API version and examples. |
| src/standbypool/azext_standbypool/aaz/latest/standby_vm_pool/_wait.py | Updates wait command API version and response schema. |
| src/standbypool/azext_standbypool/aaz/latest/standby_container_group_pool/_create.py | Regenerated standby-container-group-pool create for 2025-10-01; adds dynamic sizing. |
| src/standbypool/azext_standbypool/aaz/latest/standby_container_group_pool/_update.py | Regenerated standby-container-group-pool update with no-wait + generic-update flow and dynamic sizing. |
| src/standbypool/azext_standbypool/aaz/latest/standby_container_group_pool/_show.py | Updates show schema and API version; includes dynamic sizing in schema. |
| src/standbypool/azext_standbypool/aaz/latest/standby_container_group_pool/_list.py | Updates list commands to 2025-10-01 and extends response schema for new properties. |
| src/standbypool/azext_standbypool/aaz/latest/standby_container_group_pool/_delete.py | Updates delete command API version and examples. |
| src/standbypool/azext_standbypool/aaz/latest/standby_container_group_pool/_status.py | Updates runtime view API version and examples. |
| src/standbypool/azext_standbypool/aaz/latest/standby_container_group_pool/_wait.py | Updates wait command API version and response schema. |
| _element = cls._args_schema.subnet_ids.Element | ||
| _element.id = AAZResourceIdArg( | ||
| options=["id"], | ||
| help="Specifies ARM resource id of the subnet.", |
There was a problem hiding this comment.
In the update command schema, the subnet id element is no longer marked as required. If a user supplies --subnet-ids, allowing elements without an id will defer validation until the service call (or potentially send an invalid payload). Consider restoring required=True for the id field on each subnet element (even if the overall --subnet-ids argument remains optional/nullable).
| help="Specifies ARM resource id of the subnet.", | |
| help="Specifies ARM resource id of the subnet.", | |
| required=True, |
|
- Regenerate all CLI commands from 2025-10-01 stable swagger - Add DynamicSizing support (--dynamic-sizing-enabled) for VM and container group pools - Add PostProvisioningDelay support (--post-provisioning-delay) for VM pools - Remove maxReadyCapacity max=2000 constraint - Bump extension version to 3.0.0 - Update tests and re-record test recordings
758de54 to
a959662
Compare
|
/azp run |
|
Azure Pipelines successfully started running 2 pipeline(s). |
|
[Release] Update index.json for extension [ standbypool-2.1.0 ] : https://dev.azure.com/msazure/One/_build/results?buildId=157972279&view=results |
Description
Upgrade the StandbyPool CLI extension from API version 2025-03-01 to 2025-10-01 (stable).
Changes
--dynamic-sizing-enabled) for both VM and container group pools--post-provisioning-delay/--provision-delay) for VM poolsmaxReadyCapacitymax=2000 constraintTesting
azdev style standbypool- PASSEDazdev linter standbypool- PASSEDRelated
This checklist is used to make sure that common guidelines for a pull request are followed.