NAME
    Azure::SDK - Perl SDK for Azure data-plane services

SYNOPSIS
      use v5.42;
      use Azure::SDK::Storage::Blobs;

      my $blobs = Azure::SDK::Storage::Blobs->new(
          connection_string => $ENV{AZURE_STORAGE_CONNECTION_STRING},
      );

      $blobs->create_container('reports', if_not_exists => 1);
      $blobs->upload_blob(
          'reports',
          'daily.txt',
          "All systems nominal\n",
          content_type => 'text/plain',
          overwrite    => 1,
      );

      say $_->name for @{ $blobs->list_all_blobs('reports') };
      print $blobs->download_blob('reports', 'daily.txt')->body;

      # Failed requests throw Azure::SDK::Core::Error objects
      use Azure::SDK::AppConfiguration;

      my $config = Azure::SDK::AppConfiguration->new(
          connection_string => $ENV{APP_CONFIGURATION_CONNECTION_STRING},
      );

      my $setting = eval { $config->get_configuration_setting('app:message') };
      if (my $error = $@) {
          die $error unless ref $error && $error->isa('Azure::SDK::Core::Error');
          warn sprintf "App Configuration returned %s (%s)\n",
              $error->status // 'no status', $error->code // 'no code';
      }

DESCRIPTION
    "Azure::SDK" is a Perl client library for selected Azure data-plane
    services. Each service ships as its own client class under the
    "Azure::SDK" namespace, and every client sends its requests through the
    shared Azure::SDK::Core pipeline, which provides retries, telemetry,
    redacted diagnostics, credential application, and TLS-verified HTTP
    transport.

    The SDK is built on Perl's core "class" feature and requires Perl 5.42
    or newer. It has no dependency on .NET, Docker, or any Azure
    command-line tooling: a CPAN client and a connection string for your
    Azure resource are enough.

    This document is the entry point for the distribution. Each client and
    model class has its own reference documentation, linked below.

SERVICE CLIENTS
    Azure::SDK::Storage::Blobs
        Azure Blob Storage: container lifecycle, Block Blob upload and
        download, blob properties, conditional requests with ETags, and lazy
        blob listing.

    Azure::SDK::Storage::Queues
        Azure Queue Storage: queue lifecycle, properties and metadata, lazy
        queue listing, and message send, peek, receive, update, delete, and
        clear operations.

    Azure::SDK::Storage::Tables
        Azure Table Storage: table lifecycle, typed EDM entities, bound
        query filters, optimistic concurrency with opaque ETags, and atomic
        same-partition transactions.

    Azure::SDK::AppConfiguration
        Azure App Configuration: key-value CRUD with conditional ETags,
        label and key filtering, lazy paging, synchronization tokens, and
        snapshot lifecycle operations.

AUTHENTICATION
    Every service client accepts a "connection_string":

    *   Blob, Queue, and Table Storage accept an account-key (Shared Key)
        connection string or a "SharedAccessSignature" connection string.

    *   Blob, Queue, and Table Storage also accept an "endpoint" combined
        with an Azure::SDK::Core::Credential::Sas, or a service URL that
        already carries a precomputed SAS query.

    *   App Configuration accepts its access-key connection string and signs
        each request with HMAC-SHA256.

    SAS generation and Microsoft Entra ID authentication are not implemented
    yet. See each client's "new" documentation for the exact constructor
    arguments.

CORE
    Service clients share the following building blocks, which are also
    available for custom clients:

    Azure::SDK::Core
        The shared client that owns the endpoint and client options, builds
        the policy pipeline, sends requests, and normalizes failures.

    Azure::SDK::Core::ClientOptions
        Client configuration, including retry, diagnostics, and transport
        settings, and the factory for the default policy pipeline.

    Azure::SDK::Core::Error
        The exception object thrown for failed requests, carrying the HTTP
        status, Azure error code, and a bounded response body.

    Azure::SDK::Core::Pager
        Lazy iteration over paged list operations.

CONSTRUCTOR
  new
      my $sdk = Azure::SDK->new;

    Creates a small object describing the installed distribution. The
    optional named parameters "name" and "version" default to "Azure::SDK"
    and the distribution $VERSION. Service clients do not need an
    "Azure::SDK" instance; construct them directly.

METHODS
  name
    Returns the SDK name.

  version
    Returns the SDK version. The shared core also uses $Azure::SDK::VERSION
    when building the default "User-Agent" header.

SUPPORT
    Source code, examples, and development documentation live on GitHub:

    <https://github.com/Omnideth/perl-azure-sdk>

    GitHub issue intake is not open yet. For reproducible non-security
    defects or contribution-scope questions, email
    <mailto:omnideth@gmail.com>. Support is best effort, with no
    response-time guarantee. See the contribution guide:

    <https://github.com/Omnideth/perl-azure-sdk/blob/main/CONTRIBUTING.md>

    Report suspected vulnerabilities privately using the security policy:

    <https://github.com/Omnideth/perl-azure-sdk/blob/main/SECURITY.md>

    The repository also contains runnable examples and an optional Aspire
    <https://aspire.dev> harness that runs the SDK against local Azure
    emulators.

SEE ALSO
    Azure::SDK::Storage::Blobs
    Azure::SDK::Storage::Queues
    Azure::SDK::Storage::Tables
    Azure::SDK::AppConfiguration
    Azure::SDK::Core
    Azure REST API reference <https://learn.microsoft.com/rest/api/azure/>

AUTHOR
    Omnideth <https://github.com/Omnideth>, <mailto:omnideth@gmail.com>

COPYRIGHT AND LICENSE
    This software is copyright (c) 2026 by Omnideth.

    This is free software, licensed under the MIT License. See the LICENSE
    file included with this distribution.

