Skip to content

Commit 5d2658a

Browse files
cRui861Rena Chendpwatrous
authored
[Batch] Beta Data Plane SDK 15.0.0b3 (#42790)
* Turn on all checks - WIP fixing pylint errors * WIP migration guide * remove whitespace * update to latest typespec changes * Fix azure core import issue * Fix pyright errors and Content to Options name changes - WIP for testing changes, running into error handling issues * Update ubuntu version * Add error handling policy * Add end to end tests for error handling policy * Add another test for error handling * Delete job for sync tests working * Sync LROs done and updated tests to use LROs instead of operation functions * Async LROs done and updated unit tests - WIP fixing live tests * Typespec generation off of python LRO internal renames plus additional changes since previous generation * Update naming and test fixes - recordings updated * Update changelog and version * Fix mypy typing errors * WIP pylint fixes * Fix linting errors in _patch.py * Fix linting errors in models/_patch.py * Fix linting errors in LROs sync and async * Update test recordings and more pylint fixes * Linting fixes * Re-generate typespec for sphinx fix for generated code * More sphinx and pylint fixes * Sphinx and pylint fixes * Update unit test recordings - misc fixes * Clean up comments * Update polling logic and minor cleanup --------- Co-authored-by: Rena Chen <[email protected]> Co-authored-by: David Watrous <[email protected]>
1 parent c0ff23b commit 5d2658a

35 files changed

+11588
-2835
lines changed

sdk/batch/azure-batch/CHANGELOG.md

Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,82 @@
11
# Release History
22

3+
## 15.0.0b3 (2025-09-01)
4+
5+
### Features Added
6+
7+
- Added Long Running Operation (LRO) support for the following operation methods:
8+
- `delete_job` -> `begin_delete_job`
9+
- `disable_job` -> `begin_disable_job`
10+
- `enable_job` -> `begin_enable_job`
11+
- `delete_job_schedule` -> `begin_delete_job_schedule`
12+
- `delete_pool` -> `begin_delete_pool`
13+
- `delete_certificate` -> `begin_delete_certificate`
14+
- `deallocate_node` -> `begin_deallocate_node`
15+
- `reboot_node` -> `begin_reboot_node`
16+
- `reimage_node` -> `begin_reimage_node`
17+
- `remove_nodes` -> `begin_remove_nodes`
18+
- `resize_pool` -> `begin_resize_pool`
19+
- `start_node` -> `begin_start_node`
20+
- `stop_pool_resize` -> `begin_stop_pool_resize`
21+
- `terminate_job` -> `begin_terminate_job`
22+
- `terminate_job_schedule` -> `begin_terminate_job_schedule`
23+
24+
### Breaking Changes
25+
26+
- Renamed the following models. These name changes include several models with the suffix `Content` being renamed to have the suffix `Options`.
27+
- `AccessScope` -> `BatchAccessScope`
28+
- `AffinityInfo` -> `BatchAffinityInfo`
29+
- `BatchJobAction` -> `BatchJobActionKind`
30+
- `BatchJobCreateContent` -> `BatchJobCreateOptions`
31+
- `BatchJobDisableContent` -> `BatchJobDisableOptions`
32+
- `BatchJobScheduleCreateContent` -> `BatchJobScheduleCreateOptions`
33+
- `BatchJobScheduleUpdateContent` -> `BatchJobScheduleUpdateOptions`
34+
- `BatchJobTerminateContent` -> `BatchJobTerminateOptions`
35+
- `BatchJobUpdateContent` -> `BatchJobUpdateOptions`
36+
- `BatchNodeDeallocateContent` -> `BatchNodeDeallocateOptions`
37+
- `BatchNodeDisableSchedulingContent` -> `BatchNodeDisableSchedulingOptions`
38+
- `BatchNodeRebootContent` -> `BatchNodeRebootOptions`
39+
- `BatchNodeRebootOption` -> `BatchNodeRebootKind`
40+
- `BatchNodeReimageContent` -> `BatchNodeReimageOptions`
41+
- `BatchNodeRemoveContent` -> `BatchNodeRemoveOptions`
42+
- `BatchNodeUserCreateContent` -> `BatchNodeUserCreateOptions`
43+
- `BatchNodeUserUpdateContent` -> `BatchNodeUserUpdateOptions`
44+
- `BatchPoolCreateContent` -> `BatchPoolCreateOptions`
45+
- `BatchPoolEnableAutoScaleContent` -> `BatchPoolEnableAutoScaleOptions`
46+
- `BatchPoolEvaluateAutoScaleContent` -> `BatchPoolEvaluateAutoScaleOptions`
47+
- `BatchPoolReplaceContent` -> `BatchPoolReplaceOptions`
48+
- `BatchPoolResizeContent` -> `BatchPoolResizeOptions`
49+
- `BatchPoolUpdateContent` -> `BatchPoolUpdateOptions`
50+
- `BatchTaskCreateContent` -> `BatchTaskCreateOptions`
51+
- `ContainerConfiguration` -> `BatchContainerConfiguration`
52+
- `ContainerConfigurationUpdate` -> `BatchContainerConfigurationUpdate`
53+
- `DeleteBatchCertificateError` -> `BatchCertificateDeleteError`
54+
- `DiffDiskSettings` -> `BatchDiffDiskSettings`
55+
- `ErrorCategory` -> `BatchErrorSourceCategory`
56+
- `HttpHeader` -> `OutputFileUploadHeader`
57+
- `ImageReference` -> `BatchVmImageReference`
58+
- `OSDisk` -> `BatchOsDisk`
59+
- `OnAllBatchTasksComplete` -> `BatchAllTasksCompleteMode`
60+
- `OnBatchTaskFailure` -> `BatchAllTasksCompleteMode`
61+
- `PublicIpAddressConfiguration` -> `BatchPublicIpAddressConfiguration`
62+
- `UefiSettings` -> `BatchUefiSettings`
63+
- `UploadBatchServiceLogsContent` -> `UploadBatchServiceLogsOptions`
64+
- `VMDiskSecurityProfile` -> `BatchVMDiskSecurityProfile`
65+
66+
- Renamed parameters in the following operation methods:
67+
- `begin_disable_job` changed `content` parameter to `disable_options`
68+
- `begin_deallocate_node` changed `parameters` parameter to `options`
69+
- `begin_remove_nodes` changed `content` parameter to `remove_options`.
70+
- `begin_resize_pool` changed `content` parameter to `resize_options`.
71+
- `begin_terminate_job` changed `parameters` parameter to `options`.
72+
- `begin_reboot_node` changed `parameters` parameter to `options`.
73+
- `begin_reimage_node` changed `parameters` parameter to `options`.
74+
- `disable_node_scheduling` changed `parameters` parameter to `options`.
75+
- `enable_pool_auto_scale` changed `content` parameter to `enable_auto_scale_options`.
76+
- `evaluate_pool_auto_scale` changed `content` parameter to `evaluate_auto_scale_options`.
77+
- `upload_node_logs` changed `content` parameter to `upload_options`.
78+
- `replace_node_user` changed `content` parameter to `update_options`.
79+
380
## 15.0.0b2 (2025-03-01)
481

582
### Features Added

sdk/batch/azure-batch/MANIFEST.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ include LICENSE
33
include azure/batch/py.typed
44
recursive-include tests *.py
55
recursive-include samples *.py *.md
6-
include azure/__init__.py
6+
include azure/__init__.py

0 commit comments

Comments
 (0)