Azure Resource Manager samples for Java

July 28, 2026 ยท View on GitHub

This contains Java samples for managing Azure resources with the Azure Resource Manager client library. Each sample is self-contained, focuses on a specific scenario, and exposes a main() entrypoint so it can be run directly.

Getting started

Getting started is explained in detail here. Please refer to it to add the dependency and configure the authentication environment variables.

For general documentation on how to use the management libraries, please visit here. For additional code snippets grouped by service, see SAMPLE.md.

Sample details

App Service

Authorization (Microsoft Entra ID / RBAC)

Compute

Container Registry

Container Service

SQL Database

Next steps

Start using the Azure Resource Manager Java SDK in your solutions. Our SDK details can be found at SDK README.

For more information about other Azure Management SDKs, refer here.

Contributing

For details on contributing to this repository, see the contributing guide.

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request