Azure Java SDK
This article is based on the latest released preview version (1.0.0-beta3). If you are looking for other releases, see Versions
1.0.0-beta3 is a developer preview that supports major parts of Azure Virtual Machines, Virtual Machine Scale Sets, Storage, Networking, Resource Manager, Key Vault and Batch. The next preview version of the Azure SDK for Java is a work in-progress. We will be adding support for more Azure services and tweaking the API over the next few months.
Authentication
Use the Azure class to authenticate and connect to Azure resources.
Azure azure = Azure.authenticate(credFile).withDefaultSubscription();
Sample Code
| Service | Management Scenario |
|---|---|
| Virtual Machines | |
| Virtual Machines - parallel execution | |
| Virtual Machine Scale Sets | |
| Storage | |
| Network | |
| Resource Groups | |
| Key Vault | |
| Batch |
Download
1.0.0-beta3
If you're using released builds from 1.0.0-beta3, add the following to your POM file:
<dependency>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure</artifactId>
<version>1.0.0-beta3</version>
</dependency>
Pre-requisites
- A Java Developer Kit (JDK), v 1.7 or later
- Maven
- Azure Service Principal - see how to create authentication info.
Help
If you are migrating your code to 1.0.0-beta3, you can use these notes for preparing your code for 1.0.0-beta3 from 1.0.0-beta2.
If you encounter any bugs with these libraries, please file issues using Issues or checkout StackOverflow for Azure Java SDK.
Contribute Code
If you would like to become an active contributor to this project, follow the instructions provided in Microsoft Azure Projects Contribution Guidelines.
- Fork it
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create new Pull Request
More Information
- Javadoc
- http://azure.com/java
- If you don't have a Microsoft Azure subscription, you can get a FREE trial account here.
Versions
| Version | SHA1 | Remarks |
|---|---|---|
| 1.0.0-beta2 | 1.0.0-beta2 | Tagged release for 1.0.0-beta2 version of Azure management libraries |
| 1.0.0-beta1 | 1.0.0-beta1 | Maintenance branch for AutoRest generated raw clients |
| 1.0.0-beta1+fixes | v1.0.0-beta1+fixes | Stable build for AutoRest generated raw clients |
| 0.9.x-SNAPSHOTS | 0.9 | Maintenance branch for service management libraries |
| 0.9.3 | v0.9.3 | Latest release for service management libraries |
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

![Doug Erickson [MSFT]](https://web-archive.nli.org.il/National_Library/20161130034600im_/https://github.com/erickson-doug.png?size=16)
