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();

See how to create authentication info.

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

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.

  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

More Information

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 opencode@microsoft.com with any additional questions or comments.