Skip to content

Commit 1aad5ec

Browse files
wanghoppehoppe
andauthored
@azure/batch: API version 2023-05-01 release (Azure#25956)
### Packages impacted by this PR @azure/batch ### Issues associated with this PR N/A ### Describe the problem that is addressed by this PR Release a new version of TS SDK according to Azure Batch's new API version (2023-05-01) ### What are the possible designs available to address the problem? If there are more than one possible design, why was the one in this PR chosen? N/A ### Are there test cases added in this PR? _(If not, why?)_ Yes, to test new properties ### Provide a list of related PRs _(if any)_ Swagger API change PR: Azure/azure-rest-api-specs#24181 ### Command used to generate this PR:**_(Applicable only to SDK release request PRs)_ ### Checklists - [x] Added impacted package name to the issue description - [ ] Does this PR needs any fixes in the SDK Generator?** _(If so, create an Issue in the [Autorest/typescript](https://github.com/Azure/autorest.typescript) repository and link it here)_ - [x] Added a changelog (if necessary) --------- Co-authored-by: hoppe <[email protected]>
1 parent 0f12330 commit 1aad5ec

20 files changed

+2229
-2629
lines changed

sdk/batch/batch/CHANGELOG.md

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,27 @@
11
# Release History
22

3+
## 11.0.0 (2023-05-01)
4+
5+
### Breaking Changes
6+
7+
- Job/Pool lifetime statistics removal.
8+
- `client.pool.getAllLifetimeStatistics()` and `client.job.getAllLifetimeStatistics()` methods are removed.
9+
10+
### Features
11+
12+
- Added new boolean property `enableAcceleratedNetworking` to type `NetworkConfiguration`.
13+
- This property determines whether to create a pool with VMSS [accelerated networking enabled](https://learn.microsoft.com/azure/virtual-network/accelerated-networking-overview).
14+
- Default to be `false`.
15+
- Added new boolean property `enableAutomaticUpgrade` to type `VMExtension`.
16+
- Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available.
17+
- Added a new property `type` to type `ContainerConfiguration`.
18+
- The container technology to be used. Possible values include: `dockerCompatible` and `criCompatible`.
19+
20+
### Other Changes
21+
22+
- Deprecating `CertificateOperations` related methods.
23+
- This operation is deprecating and will be removed after February 2024. Please use the [Azure KeyVault Extension](https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide) instead.
24+
325
## 10.2.0 (2022-10-01)
426

527
### Features
@@ -14,7 +36,6 @@
1436

1537
- Modified descriptions of the `applicationPackageReferences`, `uploadHeaders`, and `name` (UserAccount) properties.
1638

17-
1839
## 10.1.0 (2022-02-09)
1940

2041
### Features
@@ -25,6 +46,6 @@
2546
- Added boolean property `allowTaskPreemption` to `JobSpecification`, `CloudJob`, `JobAddParameter`, `JobPatchParameter`, `JobUpdateParameter`
2647
- Mark Tasks as preemptible for higher priority Tasks (requires Comms-Enabled or Single Tenant Pool).
2748

28-
2949
### Bugs Fixed
50+
3051
- Fixed missing SharedKeyCredentials class export.

sdk/batch/batch/LICENSE.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2022 Microsoft
3+
Copyright (c) 2023 Microsoft
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

sdk/batch/batch/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "@azure/batch",
33
"author": "Microsoft Corporation",
44
"description": "BatchServiceClient Library with typescript type definitions for node.js and browser.",
5-
"version": "10.2.0",
5+
"version": "11.0.0",
66
"dependencies": {
77
"@azure/ms-rest-azure-js": "^2.1.0",
88
"@azure/ms-rest-js": "^2.2.0",
@@ -46,7 +46,6 @@
4646
"karma-junit-reporter": "^2.0.1",
4747
"karma-mocha": "^2.0.1",
4848
"karma-mocha-reporter": "^2.2.5",
49-
"@azure/identity": "^2.0.1",
5049
"mocha": "^8.3.0",
5150
"mocha-junit-reporter": "^2.0.0",
5251
"moment": "^2.29.1",

sdk/batch/batch/src/batchServiceClientContext.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import * as msRest from "@azure/ms-rest-js";
1111
import * as msRestAzure from "@azure/ms-rest-azure-js";
1212

1313
const packageName = "@azure/batch";
14-
const packageVersion = "10.2.0";
14+
const packageVersion = "11.0.0";
1515

1616
export class BatchServiceClientContext extends msRestAzure.AzureServiceClient {
1717
credentials: msRest.ServiceClientCredentials;
@@ -42,7 +42,7 @@ export class BatchServiceClientContext extends msRestAzure.AzureServiceClient {
4242

4343
super(credentials, options);
4444

45-
this.apiVersion = '2022-10-01.16.0';
45+
this.apiVersion = '2023-05-01.17.0';
4646
this.acceptLanguage = 'en-US';
4747
this.longRunningOperationRetryTimeout = 30;
4848
this.baseUri = "{batchUrl}";

0 commit comments

Comments
 (0)