Azure SDK for Developers

Your guide to building cloud-native applications with Azure.

Welcome to the Azure SDK Documentation

This documentation provides comprehensive guidance, tutorials, API references, and code samples to help you leverage the full power of Microsoft Azure services. Whether you're building new applications or integrating with existing ones, the Azure SDKs are designed to simplify your development experience across various platforms and languages.

Explore the sidebar to navigate through different sections, including core services, AI and machine learning capabilities, databases, authentication patterns, and best practices for working with Azure.

Key Features of Azure SDKs

  • Consistency: Unified design principles across different languages and services.
  • Idiomatic Development: SDKs feel natural to developers in their chosen language (e.g., Pythonic for Python, idiomatic for Java).
  • Performance: Optimized for speed and efficiency, with features like connection pooling and retries.
  • Observability: Built-in support for logging, tracing, and metrics to monitor your applications.
  • Security: Secure handling of credentials and access policies.

Getting Started Quickly

To begin your journey, we recommend starting with the Getting Started section. You'll find instructions on setting up your development environment, authenticating with Azure, and making your first API calls.

Here's a typical workflow:

  1. Install the appropriate Azure SDK package for your language.
  2. Authenticate your application using Azure Identity.
  3. Instantiate a client for the Azure service you want to use.
  4. Perform operations like creating, reading, updating, or deleting resources.

For example, to use the Azure Blob Storage client library for Python:


# pip install azure-storage-blob
from azure.storage.blob import BlobServiceClient

# Replace with your actual connection string
connection_string = "YOUR_AZURE_STORAGE_CONNECTION_STRING"
blob_service_client = BlobServiceClient.from_connection_string(connection_string)

# Create a container
container_client = blob_service_client.get_container_client("my-container")
container_client.create_container()

print("Container 'my-container' created successfully.")
                

API Reference Overview

Detailed API documentation for each service is crucial for understanding the available methods and parameters. You can find specific API references within each service's documentation section. Here are some common patterns:

  • BlobServiceClient: For managing blobs and containers in Azure Storage. (Azure Storage)
  • CosmosClient: For interacting with Azure Cosmos DB. (Azure Cosmos DB)
  • SecretClient: For managing secrets in Azure Key Vault. (Azure Key Vault)
  • DefaultAzureCredential: A flexible credential type that tries multiple authentication methods. (Authentication)

Community and Support

The Azure SDKs are actively developed and supported by Microsoft. For questions, issues, or contributions, please visit our GitHub repositories or the Azure developer community forums.