Azure SDK for Java

repository·main·Indexed 25 days ago

https://github.com/azure/azure-sdk-for-java

A comprehensive set of Java libraries for interacting with Azure services, including client libraries for service consumption and management libraries for resource orchestration. All libraries are based on Java 8 and share common infrastructure from azure-core. The SDK includes tools for performance and stress testing via perf-test-core and supports version management through the Azure SDK BOM.

Tokens
569K
Snippets
1.5K
Records
2.2K
Agent score
82%

What's inside Azure SDK for Java

  1. Overview of Azure AI Content Understanding

    main

    Azure AI Content Understanding is a multimodal AI service designed to extract semantic content from documents, video, audio, and image files. It converts unstructured content into structured, machine-readable data, making it ideal for retrieval-augmented generation (RAG) and automated workflows.

    Key capabilities include:

    • Document Extraction: Extract text, tables, figures, layout information, and structured markdown from PDFs, images (including handwriting), and Office documents.
    • Audio Analysis: Transcribe audio into searchable transcripts with speaker diarization and timing.
    • Video Analysis: Extract visual frames, transcribe audio tracks, and generate structured summaries.
    • Prebuilt Analyzers: Access production-ready analyzers for specific industries like finance (invoices, receipts), identity (passports), mortgage (loan applications), procurement (contracts), and utilities.
    • Custom Analyzers: Build domain-specific analyzers for specialized extraction across all modalities.
    • Classification: Automatically categorize documents and video by type.
  2. Overview of Azure identity authentication extensions for Java

    main
    The azure-identity-extensions package provides authentication extensions designed to retrieve tokens from Microsoft Entra ID for Azure services. A primary use case is enabling passwordless connections to data services, such as Azure Database for MySQL or Azure Database for PostgreSQL, by using the retrieved Entra ID token as a password for the connection.
  3. Overview of Azure Resource Manager ManagementGroups

    main
    The Azure Resource Manager ManagementGroups client library for Java provides access to the Management Groups API. This API allows you to consolidate multiple subscriptions and resources into an organizational hierarchy. This hierarchy enables centralized management of access control, policies, alerting, and reporting across your resources.
  4. Use Spring Cloud Azure Native Reachability for Spring Boot 3 AOT

    main

    The spring-cloud-azure-native-reachability library provides reachability metadata required for Spring Cloud Azure libraries when using Spring Boot 3 with Ahead-of-Time (AOT) transformations. This is necessary to build native executables.

    DEPRECATION NOTICE: This library is deprecated. All reachability metadata has been incorporated directly into the source code of each individual Spring Cloud Azure library. You should prefer using the specific Spring Cloud Azure library you need, which should now include this metadata automatically.

  5. Explore Azure Resource Manager Java samples by service

    main

    The Azure Resource Manager Java SDK provides self-contained samples with main() entrypoints for various scenarios. Available sample categories include:

    • App Service: Connecting web apps to SQL or Storage (passwordless), deploying images from ACR, managing deployment slots, custom domains, and scaling with Traffic Manager.
    • Authorization (Microsoft Entra ID / RBAC): Managing users, groups, roles, and service principals.
    • Compute: Creating VMs from custom images or specialized managed disks (snapshots), and managing multiple VMs in parallel.
    • Container Registry: Managing container registries.
    • Container Service: Managing Azure Kubernetes Service (AKS) clusters.
    • SQL Database: Creating and managing SQL databases, including multi-region management.
  6. Explore Azure Event Grid Publish/Consume Samples for Java

    main

    This repository contains Java samples for two primary workflows in Azure Event Grid:

    1. Publish/Consume Workflow: Demonstrates how to publish events to an Event Grid topic and how to consume those events via an Azure Event Hub consumer.
    2. Management Workflow: Demonstrates how to use Java code to manage Azure resources, such as creating topics and event subscriptions.

    Key features demonstrated in the samples include:

    • Creating an Event Grid topic.
    • Creating an event subscription to a topic.
    • Creating an Event Hub.
    • Publishing events to Azure Event Grid.
    • Consuming events delivered by Event Grid through an Azure Event Hub consumer.
  7. Use the OpenAI Stainless client library for testing Azure capabilities

    main

    The azure-ai-openai-stainless package is a specialized library intended for testing Azure capabilities with OpenAI.

    Warning: This package is not intended for production use.

    If you are looking to use Azure OpenAI services in a production environment, you should follow the migration guide to use the OpenAI Official Java SDK instead.

  8. Explore Azure Web PubSub Java client library samples

    main

    The Azure Web PubSub samples repository contains self-contained Java programs designed to demonstrate how to interact with the Azure Web PubSub service using the official client library. Each sample is independent and focuses on a specific messaging or management scenario.

    Commonly demonstrated tasks include:

    • Broadcasting: Sending messages to all connected clients or using filters to target specific subsets.
    • Direct Messaging: Sending messages to a specific user or connection ID.
    • Group Management: Creating and managing groups of connections.
    • Chat Implementations: Building functional components like a simple chat client.

    For detailed setup, key concepts, and troubleshooting, refer to the main Azure Web PubSub client library for Java README.

  9. Explore Azure EventGrid Native CloudEvents Java samples

    main
    The azure-messaging-eventgrid-cloudnative-cloudevents sample library provides self-contained Java programs demonstrating how to interact with Azure EventGrid using the Native CloudEvents format. Each sample is designed to be executed independently to demonstrate specific scenarios, such as sending events to a Topic or a Domain, using either synchronous or asynchronous patterns.