You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
16.0.0 (2026-11-06)
Features Added
Added hardware profiles and virtual machine SKU allocation strategies for pools.
Added availability-zone allocation and resiliency policies for pools.
Bugs Fixed
Fixed begin_terminate_job raising ValueError when options are omitted or an empty options model is supplied, by incorporating the updated generator's optional-body content-type handling.
Made BatchJobTerminateOptions, BatchNodeDeallocateOptions, BatchNodeRebootOptions, BatchNodeReimageOptions, and their operation enums available through azure.batch.models. Updated synchronous and asynchronous operation annotations and documentation to use public model names.
Breaking Changes
Removed BatchClient.list_pool_usage_metrics and its asynchronous counterpart, along with the BatchPoolUsageMetrics and BatchPoolUsageStatistics models, to align with service API version 2026-10-01.
Removed BatchPoolStatistics.usage_statistics.
Removed RETAINED_DATA from BatchNodeDeallocationOption, BatchNodeDeallocateOption, BatchNodeRebootKind, and BatchNodeReimageOption. Upload task data to Azure Storage and use TASK_COMPLETION instead. TASK_COMPLETION waits for tasks to finish, but does not wait for their data retention periods to expire.
Dropped support for Python 3.9. Python 3.10 or later is required.
Other Changes
Updated the default service API version to 2026-10-01.