Overview

Welcome to the official documentation for the Azure SDK for Java. This SDK provides a comprehensive set of libraries to help Java developers build applications that leverage the power of Microsoft Azure services.

Our SDK follows the Azure SDK Design Guidelines, focusing on consistency, usability, and reliability.

Getting Started

To start using the Azure SDK for Java, you'll need to add the necessary dependencies to your project. We primarily use Maven and Gradle.

Maven Example

<dependency>
<groupId>com.azure.resourcemanager</groupId>
<artifactId>azure-resourcemanager-storage</artifactId>
<version>2.29.0</version>
</dependency>

Gradle Example

implementation 'com.azure.resourcemanager:azure-resourcemanager-storage:2.29.0'

For detailed setup instructions and authentication methods, please refer to the Getting Started Guide.

Core Libraries

The Azure SDK for Java includes core libraries that provide foundational functionalities such as authentication, logging, and HTTP pipeline management. These are often implicitly included when you add service-specific libraries.

  • azure-core: The core library providing common types and utilities.
  • azure-identity: For managing Azure identity and authentication.

Service Libraries

Access individual Azure services through dedicated client libraries. Here are some of the most popular ones:

Azure Blob Storage

Interact with Azure Blob Storage to store and manage large amounts of unstructured data.

// Example snippet for BlobServiceClient

See Azure Blob Storage SDK for Java for more details.

Azure Cosmos DB

Build highly scalable and globally distributed applications with Azure Cosmos DB.

// Example snippet for CosmosClient

See Azure Cosmos DB SDK for Java for more details.

Azure Key Vault

Securely store and manage cryptographic keys, secrets, and certificates.

// Example snippet for KeyClient

See Azure Key Vault SDK for Java for more details.

Azure App Configuration

Centralize and manage application settings and feature flags.

// Example snippet for ConfigurationClient

See Azure App Configuration SDK for Java for more details.

Azure Active Directory

Manage identities and access control for your Azure resources.

// Example snippet for GraphServiceClient

See Azure Active Directory SDK for Java for more details.

... and more

Explore client libraries for a wide range of Azure services including Azure Functions, Azure SQL Database, Azure AI services, and more.

View all Azure SDK for Java client libraries.

Samples and Tutorials

Dive into practical examples and step-by-step tutorials to accelerate your development.

Explore Azure SDK for Java Samples on GitHub

See Java quickstarts and tutorials on Microsoft Learn

API Reference

Access the comprehensive JavaDocs for all Azure SDK libraries.

Browse Java API Documentation

Support & Community

Need help or want to contribute? Connect with the Azure Java community.