Repository navigation
[AutoPR azure-mgmt-durabletask]-generated-from-SDK Generation - Python-6977093 - #49563
azure-sdk-automation[bot] wants to merge 4 commits into
Conversation
….DurableTask/DurableTask/tspconfig.yaml', and CommitSHA: 'd218330c5a3b727df9504ba852e97259479e8fef' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=6962944 Refer to https://eng.ms/docs/products/azure-developer-experience/develop/sdk-release/sdk-release-prerequisites to prepare for SDK release.
|
Azure Pipelines: Successfully started running 2 pipeline(s). 8 pipeline(s) were filtered out due to trigger conditions. There may be pipelines that require an authorized user to comment /azp run to run. |
There was a problem hiding this comment.
🔵 Needs a closer look
The broad generated API expansion and serialization changes need human validation before approval.
2 open findings
What changed in this PR
Regenerates azure-mgmt-durabletask as version 1.2.0b1 for the 2026-07-01-preview management API.
Changes:
- Adds diagnostics, failover, task queues, encryption management, and scheduler capabilities.
- Refreshes generated clients, models, samples, and test scaffolding.
- Requires Python 3.10+ and updates preview-release metadata.
Paths below are relative to sdk/durabletask/azure-mgmt-durabletask/.
| File | Description |
|---|---|
tsp-location.yaml |
Updates TypeSpec source and commit. |
README.md |
Updates Python requirements and Entra terminology. |
pyproject.toml |
Sets beta status and Python 3.10 minimum. |
generated_tests/test_durable_task_mgmt_transparent_data_encryptions_operations.py |
Adds encryption test scaffolding. |
generated_tests/test_durable_task_mgmt_transparent_data_encryptions_operations_async.py |
Adds async encryption scaffolding. |
generated_tests/test_durable_task_mgmt_task_queues_operations.py |
Adds queue test scaffolding. |
generated_tests/test_durable_task_mgmt_task_queues_operations_async.py |
Adds async queue scaffolding. |
generated_tests/test_durable_task_mgmt_task_hubs_operations.py |
Adds capabilities to test payloads. |
generated_tests/test_durable_task_mgmt_task_hubs_operations_async.py |
Updates async capabilities payloads. |
generated_tests/test_durable_task_mgmt_schedulers_operations.py |
Adds identity and restart scaffolding. |
generated_tests/test_durable_task_mgmt_schedulers_operations_async.py |
Adds async identity and restart scaffolding. |
generated_tests/test_durable_task_mgmt_failover_instances_operations.py |
Adds failover test scaffolding. |
generated_tests/test_durable_task_mgmt_failover_instances_operations_async.py |
Adds async failover scaffolding. |
generated_tests/test_durable_task_mgmt_detectors_operations.py |
Adds detector test scaffolding. |
generated_tests/test_durable_task_mgmt_detectors_operations_async.py |
Adds async detector scaffolding. |
generated_samples/transparent_data_encryptions_list_by_scheduler_maximum_set_gen.py |
Adds encryption listing example. |
generated_samples/transparent_data_encryptions_get_maximum_set_gen.py |
Adds encryption retrieval example. |
generated_samples/transparent_data_encryptions_delete_maximum_set_gen.py |
Adds encryption deletion example. |
generated_samples/transparent_data_encryptions_create_or_replace_maximum_set_gen.py |
Adds encryption configuration example. |
generated_samples/task_queues_update.py |
Adds queue update example. |
generated_samples/task_queues_list_by_task_hub.py |
Adds queue listing example. |
generated_samples/task_queues_get.py |
Adds queue retrieval example. |
generated_samples/task_queues_delete.py |
Adds queue deletion example. |
generated_samples/task_queues_create_or_update.py |
Adds queue creation example. |
generated_samples/task_queues_create_or_update_minimum_set.py |
Adds minimal queue creation example. |
generated_samples/task_hubs_list_by_scheduler.py |
Updates source-version comment only. |
generated_samples/task_hubs_get.py |
Updates source-version comment only. |
generated_samples/task_hubs_delete.py |
Updates source-version comment only. |
generated_samples/task_hubs_create_or_update.py |
Demonstrates task-hub capabilities. |
generated_samples/schedulers_update.py |
Adds identity update payload. |
generated_samples/schedulers_restart.py |
Adds scheduler restart example. |
generated_samples/schedulers_list_by_subscription.py |
Updates source-version comment only. |
generated_samples/schedulers_list_by_resource_group.py |
Updates source-version comment only. |
generated_samples/schedulers_get.py |
Updates source-version comment only. |
generated_samples/schedulers_delete.py |
Updates source-version comment only. |
generated_samples/schedulers_create_or_update.py |
Demonstrates user-assigned identity. |
generated_samples/retention_policies_update_maximum_set_gen.py |
Updates source-version comment only. |
generated_samples/retention_policies_list_by_scheduler_maximum_set_gen.py |
Updates source-version comment only. |
generated_samples/retention_policies_get_maximum_set_gen.py |
Updates source-version comment only. |
generated_samples/retention_policies_delete_maximum_set_gen.py |
Updates source-version comment only. |
generated_samples/retention_policies_create_or_replace_maximum_set_gen.py |
Updates source-version comment only. |
generated_samples/private_link_resources_list_maximum_set_gen.py |
Updates source-version comment only. |
generated_samples/private_link_resources_get_maximum_set_gen.py |
Updates source-version comment only. |
generated_samples/private_endpoint_connections_update.py |
Updates source-version comment only. |
generated_samples/private_endpoint_connections_list_maximum_set_gen.py |
Updates source-version comment only. |
generated_samples/private_endpoint_connections_get_maximum_set_gen.py |
Updates source-version comment only. |
generated_samples/private_endpoint_connections_delete_maximum_set_gen.py |
Updates source-version comment only. |
generated_samples/private_endpoint_connections_create_maximum_set_gen.py |
Updates source-version comment only. |
generated_samples/operations_list.py |
Updates source-version comment only. |
generated_samples/failover_instances_list_by_scheduler_maximum_set_gen.py |
Adds failover listing example. |
generated_samples/failover_instances_get_maximum_set_gen.py |
Adds failover retrieval example. |
generated_samples/failover_instances_force_failover_allow_data_loss.py |
Adds forced failover example. |
generated_samples/failover_instances_failover.py |
Adds failover example. |
generated_samples/failover_instances_delete_maximum_set_gen.py |
Adds failover deletion example. |
generated_samples/failover_instances_create_or_replace_maximum_set_gen.py |
Adds failover configuration example. |
generated_samples/detectors_list_by_scheduler.py |
Adds detector listing example. |
generated_samples/detectors_get.py |
Adds detector retrieval example. |
CHANGELOG.md |
Documents preview feature additions. |
azure/mgmt/durabletask/types.py |
Adds typed request dictionaries. |
azure/mgmt/durabletask/operations/_patch.py |
Removes a blank line. |
azure/mgmt/durabletask/operations/__init__.py |
Exports new operation groups. |
azure/mgmt/durabletask/models/_patch.py |
Removes a blank line. |
azure/mgmt/durabletask/models/_models.py |
Adds preview resource models and properties. |
azure/mgmt/durabletask/models/_enums.py |
Adds preview feature enums. |
azure/mgmt/durabletask/models/__init__.py |
Exports new models and enums. |
azure/mgmt/durabletask/aio/operations/_patch.py |
Removes a blank line. |
azure/mgmt/durabletask/aio/operations/__init__.py |
Exports new async operation groups. |
azure/mgmt/durabletask/aio/_patch.py |
Removes a blank line. |
azure/mgmt/durabletask/aio/_configuration.py |
Updates async API-version default. |
azure/mgmt/durabletask/aio/_client.py |
Exposes new async operation groups. |
azure/mgmt/durabletask/_version.py |
Sets version 1.2.0b1. |
azure/mgmt/durabletask/_utils/serialization.py |
Refreshes duration and scalar serialization. |
azure/mgmt/durabletask/_utils/model_base.py |
Refreshes defaults, duration, and XML handling. |
azure/mgmt/durabletask/_patch.py |
Removes a blank line. |
azure/mgmt/durabletask/_configuration.py |
Updates API-version default. |
azure/mgmt/durabletask/_client.py |
Exposes new synchronous operation groups. |
apiview-properties.json |
Updates cross-language API mappings. |
api.metadata.yml |
Records API snapshot metadata. |
_metadata.json |
Records preview API and generator versions. |
🧠 Review effort: Balanced
Management SDK PR reviewReview completeness: complete. Advisory only; not approval to merge. Findings: None. Unverified checksUnverified checks: None. Breaking-change attributionPackage: Breaking-change attribution: No newly added or modified entries. Review summary
|
….DurableTask/DurableTask/tspconfig.yaml', and CommitSHA: 'f1f796502a81c1cf4d44fe97109e8a71fe8ba485' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=6977093 Refer to https://eng.ms/docs/products/azure-developer-experience/develop/sdk-release/sdk-release-prerequisites to prepare for SDK release.
There was a problem hiding this comment.
🔵 Needs a closer look
The async client documentation advertises an API-version value that causes request serialization to fail.
No open issues 🎉
1 previously missed issue
In code that hasn't changed since last review

Document the actual API version default

sdk/durabletask/azure-mgmt-durabletask/azure/mgmt/durabletask/aio/_client.py:75
The async client documents None as the default API version, but aio/_configuration.py:52 defaults to "2026-07-01-preview" and preserves an explicitly supplied None. With api_version=None, iterating client.operations.list() passes that value to query serialization and raises ValueError: No value for given attribute before sending a request. Correct the documentation through the generation source and regenerate: state the actual default and do not advertise None as supported.
Review effort: Balanced
There was a problem hiding this comment.
🔵 Needs a closer look
The async client documentation recommends an API-version value that causes operations to fail before sending requests.
No open issues 🎉
1 previously missed issue
In code that hasn't changed since last review

Fix generated api_version documentation and regenerate

sdk/durabletask/azure-mgmt-durabletask/azure/mgmt/durabletask/aio/_client.py:75
Passing the documented api_version=None preserves None in the async configuration. Calls such as await client.detectors.get(...) then raise ValueError in the API-version validator before sending a request. Omitting the option instead selects "2026-07-01-preview". Correct the generated docstring to state that default and remove None from the supported values; apply the correction through the generator and regenerate.
Review effort: Balanced

SDK generation details
Note
This pull request was generated automatically.
specification/durabletask/resource-manager/Microsoft.DurableTask/DurableTask/tspconfig.yamlatf1f7965Bernd.Verst@microsoft.comImportant
Complete the SDK release prerequisites before release.