Skip to content

Commit 759ca81

Browse files
author
SDKAuto
committed
CodeGen from PR 25564 in Azure/azure-rest-api-specs
Merge 73f8081a33109306fde7eb576df6030896bc9557 into 5dd1107d5f2be8d600325d795450e1d854fbe7e8
1 parent 1924eaf commit 759ca81

File tree

105 files changed

+17
-4653
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

105 files changed

+17
-4653
lines changed

sdk/batch/azure-resourcemanager-batch/CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# Release History
22

3-
## 1.1.0-beta.3 (Unreleased)
3+
## 1.0.0-beta.1 (2023-09-14)
4+
5+
- Azure Resource Manager Batch client library for Java. This package contains Microsoft Azure SDK for Batch Management SDK. Batch Client. Package tag package-2023-05. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
46

57
### Features Added
68

sdk/batch/azure-resourcemanager-batch/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Various documentation is available to help you get started
3232
<dependency>
3333
<groupId>com.azure.resourcemanager</groupId>
3434
<artifactId>azure-resourcemanager-batch</artifactId>
35-
<version>1.1.0-beta.2</version>
35+
<version>1.1.0-beta.3</version>
3636
</dependency>
3737
```
3838
[//]: # ({x-version-update-end})

sdk/batch/azure-resourcemanager-batch/SAMPLE.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -444,6 +444,7 @@ public final class BatchAccountCreateSamples {
444444
.create();
445445
}
446446

447+
// Use "Map.of" if available
447448
@SuppressWarnings("unchecked")
448449
private static <T> Map<String, T> mapOf(Object... inputs) {
449450
Map<String, T> map = new HashMap<>();
@@ -1601,6 +1602,7 @@ public final class PoolCreateSamples {
16011602
.create();
16021603
}
16031604

1605+
// Use "Map.of" if available
16041606
@SuppressWarnings("unchecked")
16051607
private static <T> Map<String, T> mapOf(Object... inputs) {
16061608
Map<String, T> map = new HashMap<>();

sdk/batch/azure-resourcemanager-batch/src/main/java/com/azure/resourcemanager/batch/BatchManager.java

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ public BatchManager authenticate(TokenCredential credential, AzureProfile profil
235235
.append("-")
236236
.append("com.azure.resourcemanager.batch")
237237
.append("/")
238-
.append("1.1.0-beta.2");
238+
.append("1.0.0-beta.1");
239239
if (!Configuration.getGlobalConfiguration().get("AZURE_TELEMETRY_DISABLED", false)) {
240240
userAgentBuilder
241241
.append(" (")
@@ -402,8 +402,10 @@ public Pools pools() {
402402
}
403403

404404
/**
405-
* @return Wrapped service client BatchManagementClient providing direct access to the underlying auto-generated API
406-
* implementation, based on Azure REST API.
405+
* Gets wrapped service client BatchManagementClient providing direct access to the underlying auto-generated API
406+
* implementation, based on Azure REST API.
407+
*
408+
* @return Wrapped service client BatchManagementClient.
407409
*/
408410
public BatchManagementClient serviceClient() {
409411
return this.clientObject;

sdk/batch/azure-resourcemanager-batch/src/main/java/com/azure/resourcemanager/batch/implementation/BatchManagementClientBuilder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ public BatchManagementClientImpl buildClient() {
137137
localSerializerAdapter,
138138
localDefaultPollInterval,
139139
localEnvironment,
140-
subscriptionId,
140+
this.subscriptionId,
141141
localEndpoint);
142142
return client;
143143
}

sdk/batch/azure-resourcemanager-batch/src/main/java/com/azure/resourcemanager/batch/models/StartTask.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public final class StartTask {
5757
* number of retries. The Batch service will try the task once, and may then retry up to this limit. For example,
5858
* if the maximum retry count is 3, Batch tries the task up to 4 times (one initial try and 3 retries). If the
5959
* maximum retry count is 0, the Batch service does not retry the task. If the maximum retry count is -1, the Batch
60-
* service retries the task without limit.
60+
* service retries the task without limit. Default is 0.
6161
*/
6262
@JsonProperty(value = "maxTaskRetryCount")
6363
private Integer maxTaskRetryCount;
@@ -194,7 +194,7 @@ public StartTask withUserIdentity(UserIdentity userIdentity) {
194194
* number of retries. The Batch service will try the task once, and may then retry up to this limit. For example, if
195195
* the maximum retry count is 3, Batch tries the task up to 4 times (one initial try and 3 retries). If the maximum
196196
* retry count is 0, the Batch service does not retry the task. If the maximum retry count is -1, the Batch service
197-
* retries the task without limit.
197+
* retries the task without limit. Default is 0.
198198
*
199199
* @return the maxTaskRetryCount value.
200200
*/
@@ -209,7 +209,7 @@ public Integer maxTaskRetryCount() {
209209
* number of retries. The Batch service will try the task once, and may then retry up to this limit. For example, if
210210
* the maximum retry count is 3, Batch tries the task up to 4 times (one initial try and 3 retries). If the maximum
211211
* retry count is 0, the Batch service does not retry the task. If the maximum retry count is -1, the Batch service
212-
* retries the task without limit.
212+
* retries the task without limit. Default is 0.
213213
*
214214
* @param maxTaskRetryCount the maxTaskRetryCount value to set.
215215
* @return the StartTask object itself.

sdk/batch/azure-resourcemanager-batch/src/samples/java/com/azure/resourcemanager/batch/generated/BatchAccountCreateSamples.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@ public static void batchAccountCreateDefault(com.azure.resourcemanager.batch.Bat
141141
.create();
142142
}
143143

144+
// Use "Map.of" if available
144145
@SuppressWarnings("unchecked")
145146
private static <T> Map<String, T> mapOf(Object... inputs) {
146147
Map<String, T> map = new HashMap<>();

sdk/batch/azure-resourcemanager-batch/src/samples/java/com/azure/resourcemanager/batch/generated/PoolCreateSamples.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -532,6 +532,7 @@ public static void createPoolFullVirtualMachineConfiguration(com.azure.resourcem
532532
.create();
533533
}
534534

535+
// Use "Map.of" if available
535536
@SuppressWarnings("unchecked")
536537
private static <T> Map<String, T> mapOf(Object... inputs) {
537538
Map<String, T> map = new HashMap<>();

sdk/batch/azure-resourcemanager-batch/src/test/java/com/azure/resourcemanager/batch/generated/ActivateApplicationPackageParametersTests.java

Lines changed: 0 additions & 25 deletions
This file was deleted.

sdk/batch/azure-resourcemanager-batch/src/test/java/com/azure/resourcemanager/batch/generated/ApplicationInnerTests.java

Lines changed: 0 additions & 36 deletions
This file was deleted.

0 commit comments

Comments
 (0)