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_jobraisingValueErrorwhen 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 throughazure.batch.models. Updated synchronous and asynchronous operation annotations and documentation to use public model names.
Breaking Changes
- Removed
BatchClient.list_pool_usage_metricsand its asynchronous counterpart, along with theBatchPoolUsageMetricsandBatchPoolUsageStatisticsmodels, to align with service API version2026-10-01. - Removed
BatchPoolStatistics.usage_statistics. - Removed
RETAINED_DATAfromBatchNodeDeallocationOption,BatchNodeDeallocateOption,BatchNodeRebootKind, andBatchNodeReimageOption. Upload task data to Azure Storage and useTASK_COMPLETIONinstead.TASK_COMPLETIONwaits 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.