Update Batch SDK to 20250601 API version#47619
Merged
ReneOv-MSFT merged 47 commits intomainfrom Feb 25, 2026
Merged
Conversation
fe351bf to
ec2ca16
Compare
Contributor
There was a problem hiding this comment.
Pull request overview
This pull request updates the Azure Batch SDK for Java to API version 2025-06-01, introducing new features and removing deprecated functionality.
Changes:
- API version updated from 2024-07-01.20.0 to 2025-06-01
- Removed deprecated features: Certificate APIs, NodeCommunicationMode, and ResourceTags
- Added new models for disk encryption, proxy agent settings, IP configuration (IPv6 support), and job scheduling
- Refactored test cleanup logic from finally blocks to sequential execution
- Added tests for pool PUT and REPLACE operations with disk encryption sets
Reviewed changes
Copilot reviewed 57 out of 61 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| TaskTests.java | Refactored test cleanup from try-catch-finally to sequential execution |
| SharedKeyTests.java | Removed NodeCommunicationMode references and Certificate handling from pool tests |
| PoolTests.java | Removed try-catch-finally wrappers, added pool replace/update tests, removed NodeCommunicationMode |
| JobTests.java | Refactored cleanup logic, removed NodeCommunicationMode from job specifications |
| JobScheduleTests.java | Simplified test structure by removing try-catch-finally blocks |
| FileTests.java | Refactored cleanup logic to sequential execution |
| ReadmeSamples.java | Removed all Certificate API examples |
| UpgradeMode.java | Fixed typo in documentation ("TAll" → "All") |
| SecurityProfile.java | Added proxyAgentSettings field with getters/setters |
| SecurityEncryptionTypes.java | Improved documentation and added DISK_WITH_VMGUEST_STATE constant |
| ManagedDisk.java | Added diskEncryptionSet field for customer-managed encryption |
| DataDisk.java | Added managedDisk field for managed disk parameters |
| BatchTaskSchedulingPolicy.java | Changed from @immutable to @fluent, added jobDefaultOrder field |
| BatchPublicIpAddressConfiguration.java | Added ipFamilies and ipTags for IPv6 and IP tagging support |
| BatchPoolUpdateParameters.java | Removed certificateReferences, targetNodeCommunicationMode, and resourceTags |
| BatchPoolSpecification.java | Removed certificateReferences, targetNodeCommunicationMode, and resourceTags |
| BatchPoolReplaceParameters.java | Removed certificateReferences and targetNodeCommunicationMode parameters |
| BatchJobNetworkConfiguration.java | Updated documentation to note feature requires support contact |
| New model files | Added ProxyAgentSettings, DiskCustomerManagedKey, DiskEncryptionSetParameters, BatchPoolIdentityReference, IPTag, IPFamily, HostEndpointSettings, HostEndpointSettingsModeTypes, BatchJobDefaultOrder |
| Deleted file | BatchNodeCommunicationMode.java removed |
| Metadata files | Updated API version and cross-language definitions |
Contributor
API Change CheckAPIView identified API level changes in this PR and created the following API reviews |
alzimmermsft
approved these changes
Feb 19, 2026
alzimmermsft
approved these changes
Feb 19, 2026
…ure-sdk-for-java into renojeda/api/2025-06-01
…ure-sdk-for-java into renojeda/api/2025-06-01
Member
|
/azp run java - pullrequest |
|
Azure Pipelines successfully started running 1 pipeline(s). |
…ure-sdk-for-java into renojeda/api/2025-06-01
wiboris
approved these changes
Feb 25, 2026
alzimmermsft
approved these changes
Feb 25, 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.
Description
If an SDK is being regenerated based on a new swagger spec, a link to the pull request containing these swagger spec changes has been included above.
All SDK Contribution checklist:
General Guidelines and Best Practices
Testing Guidelines