Skip to content

Commit 1f9e82e

Browse files
author
SDKAuto
committed
CodeGen from PR 34371 in Azure/azure-rest-api-specs
Merge 5a991e1ddde01c1ad3021a5d06676272f2ac00f5 into 37e1a52a30c527b6ad2d7ef09a9c82ad4491e8a2
1 parent 24808f3 commit 1f9e82e

File tree

77 files changed

+284
-2491
lines changed

Some content is hidden

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

77 files changed

+284
-2491
lines changed

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

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

3-
## 1.0.0-beta.3 (Unreleased)
3+
## 1.0.0-beta.1 (2025-04-30)
4+
5+
- Azure Resource Manager ManagementGroups client library for Java. This package contains Microsoft Azure SDK for ManagementGroups Management SDK. The Azure Management Groups API enables consolidation of multiple
6+
subscriptions/resources into an organizational hierarchy and centrally
7+
manage access control, policies, alerting and reporting for those resources.
8+
. Package tag package-2023-04. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
49

510
### Features Added
611

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

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Azure Resource Manager ManagementGroups client library for Java.
55
This package contains Microsoft Azure SDK for ManagementGroups Management SDK. The Azure Management Groups API enables consolidation of multiple
66
subscriptions/resources into an organizational hierarchy and centrally
77
manage access control, policies, alerting and reporting for those resources.
8-
. Package tag package-2021-04. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
8+
. Package tag package-2023-04. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
99

1010
## We'd love to hear your feedback
1111

@@ -55,15 +55,15 @@ Azure subscription ID can be configured via `AZURE_SUBSCRIPTION_ID` environment
5555
Assuming the use of the `DefaultAzureCredential` credential class, the client can be authenticated using the following code:
5656

5757
```java
58-
AzureProfile profile = new AzureProfile(AzureEnvironment.AZURE);
58+
AzureProfile profile = new AzureProfile(AzureCloud.AZURE_PUBLIC_CLOUD);
5959
TokenCredential credential = new DefaultAzureCredentialBuilder()
6060
.authorityHost(profile.getEnvironment().getActiveDirectoryEndpoint())
6161
.build();
6262
ManagementGroupsManager manager = ManagementGroupsManager
6363
.authenticate(credential, profile);
6464
```
6565

66-
The sample code assumes global Azure. Please change `AzureEnvironment.AZURE` variable if otherwise.
66+
The sample code assumes global Azure. Please change the `AzureCloud.AZURE_PUBLIC_CLOUD` variable if otherwise.
6767

6868
See [Authentication][authenticate] for more options.
6969

@@ -103,5 +103,3 @@ This project has adopted the [Microsoft Open Source Code of Conduct][coc]. For m
103103
[cg]: https://github.com/Azure/azure-sdk-for-java/blob/main/CONTRIBUTING.md
104104
[coc]: https://opensource.microsoft.com/codeofconduct/
105105
[coc_faq]: https://opensource.microsoft.com/codeofconduct/faq/
106-
107-

0 commit comments

Comments
 (0)