Skip to content

Commit 26b5730

Browse files
authored
[Automation] Generate Fluent Lite from managementgroups#package-2021-04 (Azure#35515)
* [Automation] External Change * [Automation] Generate Fluent Lite from managementgroups#package-2021-04
1 parent 26294fe commit 26b5730

File tree

195 files changed

+18321
-0
lines changed

Some content is hidden

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

195 files changed

+18321
-0
lines changed

eng/versioning/version_client.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -413,6 +413,7 @@ com.azure.resourcemanager:azure-resourcemanager-qumulo;1.0.0;1.1.0-beta.1
413413
com.azure.resourcemanager:azure-resourcemanager-selfhelp;1.0.0-beta.1;1.0.0-beta.2
414414
com.azure.resourcemanager:azure-resourcemanager-networkcloud;1.0.0-beta.1;1.0.0-beta.2
415415
com.azure.resourcemanager:azure-resourcemanager-cosmosdbforpostgresql;1.0.0-beta.1;1.0.0-beta.2
416+
com.azure.resourcemanager:azure-resourcemanager-managementgroups;1.0.0-beta.1;1.0.0-beta.1
416417
com.azure.tools:azure-sdk-archetype;1.0.0;1.2.0-beta.1
417418
com.azure.tools:azure-sdk-build-tool;1.0.0-beta.1;1.0.0-beta.2
418419

pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@
110110
<module>sdk/machinelearningservices</module>
111111
<module>sdk/maintenance</module>
112112
<module>sdk/managedapplications</module>
113+
<module>sdk/managementgroups</module>
113114
<module>sdk/maps</module>
114115
<module>sdk/mariadb</module>
115116
<module>sdk/marketplaceordering</module>
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Release History
2+
3+
## 1.0.0-beta.1 (2023-06-19)
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-2021-04. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
Lines changed: 108 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,108 @@
1+
# Azure Resource Manager ManagementGroups client library for Java
2+
3+
Azure Resource Manager ManagementGroups client library for Java.
4+
5+
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-2021-04. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
9+
10+
## We'd love to hear your feedback
11+
12+
We're always working on improving our products and the way we communicate with our users. So we'd love to learn what's working and how we can do better.
13+
14+
If you haven't already, please take a few minutes to [complete this short survey][survey] we have put together.
15+
16+
Thank you in advance for your collaboration. We really appreciate your time!
17+
18+
## Documentation
19+
20+
Various documentation is available to help you get started
21+
22+
- [API reference documentation][docs]
23+
24+
## Getting started
25+
26+
### Prerequisites
27+
28+
- [Java Development Kit (JDK)][jdk] with version 8 or above
29+
- [Azure Subscription][azure_subscription]
30+
31+
### Adding the package to your product
32+
33+
[//]: # ({x-version-update-start;com.azure.resourcemanager:azure-resourcemanager-managementgroups;current})
34+
```xml
35+
<dependency>
36+
<groupId>com.azure.resourcemanager</groupId>
37+
<artifactId>azure-resourcemanager-managementgroups</artifactId>
38+
<version>1.0.0-beta.1</version>
39+
</dependency>
40+
```
41+
[//]: # ({x-version-update-end})
42+
43+
### Include the recommended packages
44+
45+
Azure Management Libraries require a `TokenCredential` implementation for authentication and an `HttpClient` implementation for HTTP client.
46+
47+
[Azure Identity][azure_identity] and [Azure Core Netty HTTP][azure_core_http_netty] packages provide the default implementation.
48+
49+
### Authentication
50+
51+
By default, Azure Active Directory token authentication depends on correct configuration of the following environment variables.
52+
53+
- `AZURE_CLIENT_ID` for Azure client ID.
54+
- `AZURE_TENANT_ID` for Azure tenant ID.
55+
- `AZURE_CLIENT_SECRET` or `AZURE_CLIENT_CERTIFICATE_PATH` for client secret or client certificate.
56+
57+
In addition, Azure subscription ID can be configured via `AZURE_SUBSCRIPTION_ID` environment variable.
58+
59+
With above configuration, `azure` client can be authenticated using the following code:
60+
61+
```java
62+
AzureProfile profile = new AzureProfile(AzureEnvironment.AZURE);
63+
TokenCredential credential = new DefaultAzureCredentialBuilder()
64+
.authorityHost(profile.getEnvironment().getActiveDirectoryEndpoint())
65+
.build();
66+
ManagementGroupsManager manager = ManagementGroupsManager
67+
.authenticate(credential, profile);
68+
```
69+
70+
The sample code assumes global Azure. Please change `AzureEnvironment.AZURE` variable if otherwise.
71+
72+
See [Authentication][authenticate] for more options.
73+
74+
## Key concepts
75+
76+
See [API design][design] for general introduction on design and key concepts on Azure Management Libraries.
77+
78+
## Examples
79+
80+
[Code snippets and samples](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/managementgroups/azure-resourcemanager-managementgroups/SAMPLE.md)
81+
82+
83+
## Troubleshooting
84+
85+
## Next steps
86+
87+
## Contributing
88+
89+
For details on contributing to this repository, see the [contributing guide][cg].
90+
91+
This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit <https://cla.microsoft.com>.
92+
93+
When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repositories using our CLA.
94+
95+
This project has adopted the [Microsoft Open Source Code of Conduct][coc]. For more information see the [Code of Conduct FAQ][coc_faq] or contact <[email protected]> with any additional questions or comments.
96+
97+
<!-- LINKS -->
98+
[survey]: https://microsoft.qualtrics.com/jfe/form/SV_ehN0lIk2FKEBkwd?Q_CHL=DOCS
99+
[docs]: https://azure.github.io/azure-sdk-for-java/
100+
[jdk]: https://docs.microsoft.com/java/azure/jdk/
101+
[azure_subscription]: https://azure.microsoft.com/free/
102+
[azure_identity]: https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/identity/azure-identity
103+
[azure_core_http_netty]: https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/core/azure-core-http-netty
104+
[authenticate]: https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/resourcemanager/docs/AUTH.md
105+
[design]: https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/resourcemanager/docs/DESIGN.md
106+
[cg]: https://github.com/Azure/azure-sdk-for-java/blob/main/CONTRIBUTING.md
107+
[coc]: https://opensource.microsoft.com/codeofconduct/
108+
[coc_faq]: https://opensource.microsoft.com/codeofconduct/faq/

0 commit comments

Comments
 (0)