diff --git a/eng/versioning/version_client.txt b/eng/versioning/version_client.txt index e7fd68cf155f..f3a75a0efd92 100644 --- a/eng/versioning/version_client.txt +++ b/eng/versioning/version_client.txt @@ -392,7 +392,7 @@ com.azure.resourcemanager:azure-resourcemanager-storagepool;1.0.0-beta.3;1.0.0-b com.azure.resourcemanager:azure-resourcemanager-dataprotection;1.3.0;1.4.0-beta.1 com.azure.resourcemanager:azure-resourcemanager-desktopvirtualization;1.2.0;1.3.0-beta.1 com.azure.resourcemanager:azure-resourcemanager-loadtesting;1.1.0;1.2.0-beta.1 -com.azure.resourcemanager:azure-resourcemanager-automanage;1.0.0-beta.2;1.0.0-beta.3 +com.azure.resourcemanager:azure-resourcemanager-automanage;1.0.0-beta.2;1.0.0 com.azure.resourcemanager:azure-resourcemanager-edgeorder;1.0.0-beta.2;1.0.0 com.azure.resourcemanager:azure-resourcemanager-securityinsights;1.0.0-beta.5;1.0.0-beta.6 com.azure.resourcemanager:azure-resourcemanager-oep;1.0.0-beta.2;1.0.0-beta.3 diff --git a/sdk/automanage/azure-resourcemanager-automanage/CHANGELOG.md b/sdk/automanage/azure-resourcemanager-automanage/CHANGELOG.md index 6e3a8fb4a4ac..564425d3afad 100644 --- a/sdk/automanage/azure-resourcemanager-automanage/CHANGELOG.md +++ b/sdk/automanage/azure-resourcemanager-automanage/CHANGELOG.md @@ -1,15 +1,13 @@ # Release History -## 1.0.0-beta.3 (Unreleased) +## 1.0.0 (2025-01-02) -### Features Added - -### Breaking Changes - -### Bugs Fixed +- Azure Resource Manager Automanage client library for Java. This package contains Microsoft Azure SDK for Automanage Management SDK. Automanage Client. Package tag package-2022-05. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt). ### Other Changes +- Release for Azure Resource Manager Automanage client library for Java. + ## 1.0.0-beta.2 (2024-10-10) - Azure Resource Manager Automanage client library for Java. This package contains Microsoft Azure SDK for Automanage Management SDK. Automanage Client. Package tag package-2022-05. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt). diff --git a/sdk/automanage/azure-resourcemanager-automanage/README.md b/sdk/automanage/azure-resourcemanager-automanage/README.md index 01cdb1e472cb..504a8c0f84d9 100644 --- a/sdk/automanage/azure-resourcemanager-automanage/README.md +++ b/sdk/automanage/azure-resourcemanager-automanage/README.md @@ -32,7 +32,7 @@ Various documentation is available to help you get started com.azure.resourcemanager azure-resourcemanager-automanage - 1.0.0-beta.2 + 1.0.0 ``` [//]: # ({x-version-update-end}) diff --git a/sdk/automanage/azure-resourcemanager-automanage/pom.xml b/sdk/automanage/azure-resourcemanager-automanage/pom.xml index 645c700f7825..07626c35a34b 100644 --- a/sdk/automanage/azure-resourcemanager-automanage/pom.xml +++ b/sdk/automanage/azure-resourcemanager-automanage/pom.xml @@ -14,7 +14,7 @@ com.azure.resourcemanager azure-resourcemanager-automanage - 1.0.0-beta.3 + 1.0.0 jar Microsoft Azure SDK for Automanage Management @@ -45,7 +45,7 @@ UTF-8 0 0 - true + false diff --git a/sdk/automanage/azure-resourcemanager-automanage/src/main/java/com/azure/resourcemanager/automanage/AutomanageManager.java b/sdk/automanage/azure-resourcemanager-automanage/src/main/java/com/azure/resourcemanager/automanage/AutomanageManager.java index 01aa0b41f70c..1d0f79fc23a3 100644 --- a/sdk/automanage/azure-resourcemanager-automanage/src/main/java/com/azure/resourcemanager/automanage/AutomanageManager.java +++ b/sdk/automanage/azure-resourcemanager-automanage/src/main/java/com/azure/resourcemanager/automanage/AutomanageManager.java @@ -11,6 +11,7 @@ import com.azure.core.http.HttpPipelinePosition; import com.azure.core.http.policy.AddDatePolicy; import com.azure.core.http.policy.AddHeadersFromContextPolicy; +import com.azure.core.http.policy.BearerTokenAuthenticationPolicy; import com.azure.core.http.policy.HttpLogOptions; import com.azure.core.http.policy.HttpLoggingPolicy; import com.azure.core.http.policy.HttpPipelinePolicy; @@ -19,7 +20,6 @@ import com.azure.core.http.policy.RetryOptions; import com.azure.core.http.policy.RetryPolicy; import com.azure.core.http.policy.UserAgentPolicy; -import com.azure.core.management.http.policy.ArmChallengeAuthenticationPolicy; import com.azure.core.management.profile.AzureProfile; import com.azure.core.util.Configuration; import com.azure.core.util.logging.ClientLogger; @@ -249,7 +249,7 @@ public AutomanageManager authenticate(TokenCredential credential, AzureProfile p .append("-") .append("com.azure.resourcemanager.automanage") .append("/") - .append("1.0.0-beta.2"); + .append("1.0.0"); if (!Configuration.getGlobalConfiguration().get("AZURE_TELEMETRY_DISABLED", false)) { userAgentBuilder.append(" (") .append(Configuration.getGlobalConfiguration().get("java.version")) @@ -282,7 +282,7 @@ public AutomanageManager authenticate(TokenCredential credential, AzureProfile p HttpPolicyProviders.addBeforeRetryPolicies(policies); policies.add(retryPolicy); policies.add(new AddDatePolicy()); - policies.add(new ArmChallengeAuthenticationPolicy(credential, scopes.toArray(new String[0]))); + policies.add(new BearerTokenAuthenticationPolicy(credential, scopes.toArray(new String[0]))); policies.addAll(this.policies.stream() .filter(p -> p.getPipelinePosition() == HttpPipelinePosition.PER_RETRY) .collect(Collectors.toList()));