Conversation
|
| rule | cmd_name | rule_message | suggest_message |
|---|---|---|---|
| durabletask retention-policy create | cmd durabletask retention-policy create update parameter scheduler_name: updated property options from ['--scheduler-name'] to ['--scheduler-name', '-s'] |
||
| durabletask retention-policy delete | cmd durabletask retention-policy delete update parameter scheduler_name: updated property options from ['--scheduler-name'] to ['--scheduler-name', '-s'] |
||
| durabletask retention-policy show | cmd durabletask retention-policy show update parameter scheduler_name: updated property options from ['--scheduler-name'] to ['--scheduler-name', '-s'] |
||
| durabletask retention-policy wait | cmd durabletask retention-policy wait update parameter scheduler_name: updated property options from ['--scheduler-name'] to ['--scheduler-name', '-s'] |
||
| durabletask scheduler create | cmd durabletask scheduler create added parameter public_network_access |
||
| durabletask scheduler create | cmd durabletask scheduler create update parameter ip_allowlist: added property aaz_default=[] |
||
| durabletask scheduler update | cmd durabletask scheduler update added parameter public_network_access |
|
Hi @berndverst, |
|
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
This PR upgrades the durabletask Azure CLI extension from version 1.0.0b5 to 1.0.0b6, bumping the ARM management-plane API version from 2025-11-01 to 2026-02-01 across all resource types (scheduler, taskhub, retention policy). The most notable functional additions are: a new --public-network-access parameter on scheduler create/update, private endpoint connection fields in read schemas, and custom validation wrappers for az durabletask scheduler create and az durabletask scheduler update.
Changes:
- API version bumped from
2025-11-01to2026-02-01across all AAZ-generated files for scheduler, taskhub, and retention-policy operations - New
--public-network-accessargument added toaz durabletask scheduler createandaz durabletask scheduler update, withprivateEndpointConnectionsandpublicNetworkAccessfields added to all read schemas - New custom command classes
CreateSchedulerandUpdateSchedulerintroduced incustom.pyto enforce SKU validation and clean up zero/null SKU capacity on update; shorthand-salias added to--scheduler-namefor all retention-policy commands
Reviewed changes
Copilot reviewed 20 out of 20 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
src/durabletask/HISTORY.rst |
Adds 1.0.0b6 release entry; missing +++++ underline |
src/durabletask/azext_durabletask/custom.py |
Adds CreateScheduler (SKU validation) and UpdateScheduler (capacity cleanup) custom wrappers |
src/durabletask/azext_durabletask/commands.py |
Registers the new custom CreateScheduler/UpdateScheduler in the command table |
src/durabletask/azext_durabletask/aaz/latest/durabletask/scheduler/_create.py |
API version bump, adds --public-network-access, private endpoint connection schema, _CreateHelper |
src/durabletask/azext_durabletask/aaz/latest/durabletask/scheduler/_update.py |
API version bump, adds --public-network-access, private endpoint connection schema, _UpdateHelper |
src/durabletask/azext_durabletask/aaz/latest/durabletask/scheduler/_list.py |
API version bump, private endpoint connection schema, _ListHelper |
src/durabletask/azext_durabletask/aaz/latest/durabletask/scheduler/_show.py |
API version bump, private endpoint connection schema, _ShowHelper |
src/durabletask/azext_durabletask/aaz/latest/durabletask/scheduler/_delete.py |
API version bump |
src/durabletask/azext_durabletask/aaz/latest/durabletask/scheduler/_wait.py |
API version bump, private endpoint connection schema, _WaitHelper |
src/durabletask/azext_durabletask/aaz/latest/durabletask/taskhub/_create.py |
API version bump |
src/durabletask/azext_durabletask/aaz/latest/durabletask/taskhub/_update.py |
API version bump |
src/durabletask/azext_durabletask/aaz/latest/durabletask/taskhub/_list.py |
API version bump |
src/durabletask/azext_durabletask/aaz/latest/durabletask/taskhub/_show.py |
API version bump |
src/durabletask/azext_durabletask/aaz/latest/durabletask/taskhub/_delete.py |
API version bump |
src/durabletask/azext_durabletask/aaz/latest/durabletask/taskhub/_wait.py |
API version bump |
src/durabletask/azext_durabletask/aaz/latest/durabletask/retention_policy/_create.py |
API version bump, -s shorthand for --scheduler-name |
src/durabletask/azext_durabletask/aaz/latest/durabletask/retention_policy/_update.py |
API version bump, -s shorthand for --scheduler-name |
src/durabletask/azext_durabletask/aaz/latest/durabletask/retention_policy/_show.py |
API version bump, -s shorthand for --scheduler-name |
src/durabletask/azext_durabletask/aaz/latest/durabletask/retention_policy/_delete.py |
API version bump, -s shorthand for --scheduler-name |
src/durabletask/azext_durabletask/aaz/latest/durabletask/retention_policy/_wait.py |
API version bump, -s shorthand for --scheduler-name |
You can also share your feedback on Copilot code review. Take the survey.
|
@yonzhan please approve / merge and release when you have a chance. Thanks! |
|
/azp run |
|
Azure Pipelines successfully started running 2 pipeline(s). |
|
[Release] Update index.json for extension [ durabletask-1.0.0b6 ] : https://dev.azure.com/msazure/One/_build/results?buildId=156076787&view=results |
This checklist is used to make sure that common guidelines for a pull request are followed.
Related command
az durabletask scheduler createaz durabletask scheduler updateaz durabletask scheduler listaz durabletask scheduler getGeneral 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.