[AutoPR sdk-resourcemanager/batch/armbatch]-generated-from-SDK Generation - Go-5864174#26008
Conversation
…/Batch/tspconfig.yaml', API Version: 2025-06-01, SDK Release Type: stable, and CommitSHA: 'ed16e10caee8ef2ab09f321272877d0efbec0d1e' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=5864174 Refer to https://eng.ms/docs/products/azure-developer-experience/develop/sdk-release/sdk-release-prerequisites to prepare for SDK release.
API Change CheckAPIView identified API level changes in this PR and created the following API reviews |
There was a problem hiding this comment.
Pull request overview
This PR migrates the Azure Batch resource manager SDK from AutoRest to TypeSpec code generation, upgrading from v3.0.1 to v4.0.0 with API version 2025-06-01. The migration removes deprecated Certificate management functionality and adds new features for disk encryption, host endpoint settings, IP family configuration, and job scheduling.
Changes:
- Migrated code generation from AutoRest to TypeSpec (Go Code Generator)
- Removed Certificate client and all certificate-related types (breaking change)
- Updated Application and ApplicationPackage Create methods to require parameters argument (breaking change)
- Added new features: DiskCustomerManagedKey, HostEndpointSettings, IPFamily enum, JobDefaultOrder, ProxyAgentSettings
Reviewed changes
Copilot reviewed 47 out of 50 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| CHANGELOG.md | Documents v4.0.0 breaking changes and new features |
| go.mod, go.sum | Updates module path to v4 and dependency versions |
| version.go | New file with module version v4.0.0 |
| tsp-location.yaml | New TypeSpec configuration file |
| autorest.md, build.go | Removed AutoRest artifacts |
| constants.go | Removed certificate enums, added new enums for security and networking |
| client_factory.go | Removed CertificateClient factory method |
| *_client.go | Updated API version to 2025-06-01, modernized comments |
| *_client_example_test.go | Updated examples with correct subscription IDs and parameter ordering |
| fake/*.go | Updated fake servers with new code generation patterns |
| time_rfc3339.go | Removed (no longer generated) |
| responses.go | Updated comments and removed certificate response types |
| options.go | Updated LRO comment wording, removed certificate options, removed optional parameters from Create methods |
| batchmanagement_live_test.go | Updated test calls to match new Create signatures |
| - Field `Parameters` of struct `ApplicationPackageClientCreateOptions` has been removed | ||
| - Field `StorageAccountType` of struct `DataDisk` has been removed | ||
| - Field `ApplicationLicenses`, `Certificates`, `CurrentNodeCommunicationMode`, `ResourceTags`, `TargetNodeCommunicationMode` of struct `PoolProperties` has been removed | ||
|
|
There was a problem hiding this comment.
The Breaking changes are introduced and approved in this PR, @jhendrixMSFT , please approve this major version release by adding label of Approved Major Version, thanks.
Configurations: 'specification/batch/resource-manager/Microsoft.Batch/Batch/tspconfig.yaml', API Version: 2025-06-01, SDK Release Type: stable, and CommitSHA: 'ed16e10caee8ef2ab09f321272877d0efbec0d1e' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=5864174 Refer to https://eng.ms/docs/products/azure-developer-experience/develop/sdk-release/sdk-release-prerequisites to prepare for SDK release. Release plan link: https://web.powerapps.com/apps/821ab569-ae60-420d-8264-d7b5d5ef734c?release-plan-id=977a3b1c-3a42-f011-b4ca-00224804b6c3 Submitted by: William.Boris@microsoft.com
Release Plan Details
Spec pull request: Update TypeSpec for 2025-06-01 azure-rest-api-specs#39481
Spec API version: 2025-06-01