[durabletask] Add API version 2026-05-01-preview resources (release 1.0.0b8)#9925
Open
berndverst wants to merge 3 commits into
Open
[durabletask] Add API version 2026-05-01-preview resources (release 1.0.0b8)#9925berndverst wants to merge 3 commits into
berndverst wants to merge 3 commits into
Conversation
|
Validation for Breaking Change Starting...
Thanks for your contribution! |
|
Hi @berndverst, |
Contributor
There was a problem hiding this comment.
Pull request overview
Note
Copilot was unable to run its full agentic suite in this review.
Adds new Azure Durable Task CLI capabilities by introducing scheduler restart + identity management commands, new transparent data encryption (TDE) command group, and updating Task Hub commands to the latest preview API surface.
Changes:
- Added
durabletask scheduler restartcustom command (POST/restart) and parameters/help. - Added scheduler identity assign/remove commands (with SKU capacity payload sanitization).
- Updated Task Hub commands to
2026-05-01-previewand addedcapabilitiessupport; introduced scheduler TDE AAZ command group (create/update/show/delete/wait).
Reviewed changes
Copilot reviewed 23 out of 23 changed files in this pull request and generated 6 comments.
Show a summary per file
| File | Description |
|---|---|
| src/durabletask/azext_durabletask/custom.py | Exposes new scheduler/identity/restart entrypoints via imports. |
| src/durabletask/azext_durabletask/commands.py | Registers new restart command and scheduler identity assign/remove commands. |
| src/durabletask/azext_durabletask/aaz/latest/durabletask/taskhub/_wait.py | Bumps api-version; adds capabilities to output schema. |
| src/durabletask/azext_durabletask/aaz/latest/durabletask/taskhub/_show.py | Bumps api-version; adds capabilities to output schema. |
| src/durabletask/azext_durabletask/aaz/latest/durabletask/taskhub/_list.py | Bumps api-version; adds capabilities to output schema. |
| src/durabletask/azext_durabletask/aaz/latest/durabletask/taskhub/_delete.py | Bumps api-version to preview. |
| src/durabletask/azext_durabletask/aaz/latest/durabletask/taskhub/_create.py | Bumps api-version; adds --capabilities argument and request payload support; adds capabilities to output schema. |
| src/durabletask/azext_durabletask/aaz/latest/durabletask/scheduler/transparent_data_encryption/_wait.py | New AAZ wait command for scheduler TDE. |
| src/durabletask/azext_durabletask/aaz/latest/durabletask/scheduler/transparent_data_encryption/_update.py | New AAZ update command for scheduler TDE. |
| src/durabletask/azext_durabletask/aaz/latest/durabletask/scheduler/transparent_data_encryption/_show.py | New AAZ show command for scheduler TDE. |
| src/durabletask/azext_durabletask/aaz/latest/durabletask/scheduler/transparent_data_encryption/_delete.py | New AAZ delete command for scheduler TDE. |
| src/durabletask/azext_durabletask/aaz/latest/durabletask/scheduler/transparent_data_encryption/_create.py | New AAZ create command for scheduler TDE. |
| src/durabletask/azext_durabletask/aaz/latest/durabletask/scheduler/transparent_data_encryption/init.py | Exports scheduler TDE command group and commands. |
| src/durabletask/azext_durabletask/aaz/latest/durabletask/scheduler/transparent_data_encryption/__cmd_group.py | New durabletask scheduler transparent-data-encryption command group. |
| src/durabletask/azext_durabletask/aaz/latest/durabletask/scheduler/identity/_wait.py | New AAZ wait command for scheduler identity subresource. |
| src/durabletask/azext_durabletask/aaz/latest/durabletask/scheduler/identity/_show.py | New AAZ show command for scheduler identity subresource. |
| src/durabletask/azext_durabletask/aaz/latest/durabletask/scheduler/identity/_remove.py | New AAZ identity remove command. |
| src/durabletask/azext_durabletask/aaz/latest/durabletask/scheduler/identity/_assign.py | New AAZ identity assign command. |
| src/durabletask/azext_durabletask/aaz/latest/durabletask/scheduler/identity/init.py | Exports scheduler identity command group and commands. |
| src/durabletask/azext_durabletask/aaz/latest/durabletask/scheduler/identity/__cmd_group.py | New durabletask scheduler identity command group. |
| src/durabletask/azext_durabletask/_scheduler.py | Adds identity wrappers to sanitize SKU capacity; implements restart_scheduler. |
| src/durabletask/azext_durabletask/_params.py | Adds CLI parameters for durabletask scheduler restart. |
| src/durabletask/azext_durabletask/_help.py | Adds help entries for restart, identity assign, and TDE create/update. |
Collaborator
|
durabletask |
…ion constant, multi-line import)
YunchuWang
approved these changes
Jun 10, 2026
YunchuWang
approved these changes
Jun 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This checklist is used to make sure that common guidelines for a pull request are followed.
Related command
This PR adds support for the
2026-05-01-previewDurable Task management API to thedurabletaskCLI extension. It introduces three new experimental scheduler capabilities — restart, managed identity management, and transparent data encryption (TDE) — and adds task hub capabilities support. The extension version is bumped from1.0.0b7to1.0.0b8.az durabletask scheduler restart(preview)Restart a scheduler via the
POST /restartoperation on the scheduler resource.az durabletask scheduler identity(preview)Manage system-assigned and user-assigned managed identities on a scheduler. Subcommands:
assign,remove,show,wait.The
assignandremovecommands are wrapped by custom overloads (AssignIdentity,RemoveIdentity) that strip an inapplicablesku.capacityfrom the full-resource PUT payload, preventing invalid requests for non-Dedicated (e.g. Consumption) SKUs.az durabletask scheduler transparent-data-encryption(preview)Manage transparent data encryption with Microsoft-managed or customer-managed keys. Subcommands:
create,update,delete,show,wait.Task hub capabilities (
--capabilities)az durabletask taskhub createnow accepts a--capabilitiesargument, and thecapabilitiesproperty is surfaced intaskhub create/list/show/waitoutput.API version bump
Task hub commands (
create,delete,list,show,wait) are updated from2026-02-01to2026-05-01-preview.Want me to save this as the PR body somewhere, or adjust the tone/length?
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.