Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion sdk/batch/azure-resourcemanager-batch/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Release History

## 1.1.0-beta.3 (Unreleased)
## 1.0.0-beta.1 (2023-09-14)

- 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).

### Features Added

Expand Down
2 changes: 1 addition & 1 deletion sdk/batch/azure-resourcemanager-batch/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Various documentation is available to help you get started
<dependency>
<groupId>com.azure.resourcemanager</groupId>
<artifactId>azure-resourcemanager-batch</artifactId>
<version>1.1.0-beta.2</version>
<version>1.1.0-beta.3</version>
</dependency>
```
[//]: # ({x-version-update-end})
Expand Down
2 changes: 2 additions & 0 deletions sdk/batch/azure-resourcemanager-batch/SAMPLE.md
Original file line number Diff line number Diff line change
Expand Up @@ -444,6 +444,7 @@ public final class BatchAccountCreateSamples {
.create();
}

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

// Use "Map.of" if available
@SuppressWarnings("unchecked")
private static <T> Map<String, T> mapOf(Object... inputs) {
Map<String, T> map = new HashMap<>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ public BatchManager authenticate(TokenCredential credential, AzureProfile profil
.append("-")
.append("com.azure.resourcemanager.batch")
.append("/")
.append("1.1.0-beta.2");
.append("1.0.0-beta.1");
if (!Configuration.getGlobalConfiguration().get("AZURE_TELEMETRY_DISABLED", false)) {
userAgentBuilder
.append(" (")
Expand Down Expand Up @@ -402,8 +402,10 @@ public Pools pools() {
}

/**
* @return Wrapped service client BatchManagementClient providing direct access to the underlying auto-generated API
* implementation, based on Azure REST API.
* Gets wrapped service client BatchManagementClient providing direct access to the underlying auto-generated API
* implementation, based on Azure REST API.
*
* @return Wrapped service client BatchManagementClient.
*/
public BatchManagementClient serviceClient() {
return this.clientObject;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ public BatchManagementClientImpl buildClient() {
localSerializerAdapter,
localDefaultPollInterval,
localEnvironment,
subscriptionId,
this.subscriptionId,
localEndpoint);
return client;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public final class StartTask {
* number of retries. The Batch service will try the task once, and may then retry up to this limit. For example,
* if the maximum retry count is 3, Batch tries the task up to 4 times (one initial try and 3 retries). If the
* maximum retry count is 0, the Batch service does not retry the task. If the maximum retry count is -1, the Batch
* service retries the task without limit.
* service retries the task without limit. Default is 0.
*/
@JsonProperty(value = "maxTaskRetryCount")
private Integer maxTaskRetryCount;
Expand Down Expand Up @@ -194,7 +194,7 @@ public StartTask withUserIdentity(UserIdentity userIdentity) {
* number of retries. The Batch service will try the task once, and may then retry up to this limit. For example, if
* the maximum retry count is 3, Batch tries the task up to 4 times (one initial try and 3 retries). If the maximum
* retry count is 0, the Batch service does not retry the task. If the maximum retry count is -1, the Batch service
* retries the task without limit.
* retries the task without limit. Default is 0.
*
* @return the maxTaskRetryCount value.
*/
Expand All @@ -209,7 +209,7 @@ public Integer maxTaskRetryCount() {
* number of retries. The Batch service will try the task once, and may then retry up to this limit. For example, if
* the maximum retry count is 3, Batch tries the task up to 4 times (one initial try and 3 retries). If the maximum
* retry count is 0, the Batch service does not retry the task. If the maximum retry count is -1, the Batch service
* retries the task without limit.
* retries the task without limit. Default is 0.
*
* @param maxTaskRetryCount the maxTaskRetryCount value to set.
* @return the StartTask object itself.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ public static void batchAccountCreateDefault(com.azure.resourcemanager.batch.Bat
.create();
}

// Use "Map.of" if available
@SuppressWarnings("unchecked")
private static <T> Map<String, T> mapOf(Object... inputs) {
Map<String, T> map = new HashMap<>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -532,6 +532,7 @@ public static void createPoolFullVirtualMachineConfiguration(com.azure.resourcem
.create();
}

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

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading