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 BlobServiceClientSee 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 CosmosClientSee Azure Cosmos DB SDK for Java for more details.
Azure Key Vault
Securely store and manage cryptographic keys, secrets, and certificates.
// Example snippet for KeyClientSee Azure Key Vault SDK for Java for more details.
Azure App Configuration
Centralize and manage application settings and feature flags.
// Example snippet for ConfigurationClientSee Azure App Configuration SDK for Java for more details.
Azure Active Directory
Manage identities and access control for your Azure resources.
// Example snippet for GraphServiceClientSee 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.
Samples and Tutorials
Dive into practical examples and step-by-step tutorials to accelerate your development.
API Reference
Access the comprehensive JavaDocs for all Azure SDK libraries.
Support & Community
Need help or want to contribute? Connect with the Azure Java community.