Azure SDK for .NET

repository·main·Indexed 27 days ago

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

A collection of libraries for interacting with Azure services, including client libraries for data plane operations and management libraries for resource provisioning. The SDK includes tools for spell checking with cspell, recording asset migration via generate-assets-json.ps1, and live test resource provisioning using New-TestResources.ps1. It also provides TypeSpec emitters such as @azure-typespec/http-client-csharp-mgmt for management libraries and @azure-typespec/http-client-csharp-provisioning for infrastructure-as-code libraries.

Tokens
306.2K
Snippets
873
Records
1.2K
Agent score
91%

What's inside azure-sdk-for-net

  1. Overview of Azure.ResourceManager.Blueprint

    main

    The Azure.ResourceManager.Blueprint library is a management client library for .NET that allows you to manage Microsoft Azure Blueprint resources. Azure Blueprints enable architects to define repeatable sets of Azure resources that adhere to organizational standards and compliance.

    This library follows the modern Azure SDK guidelines and includes:

    • Support for Azure.Identity (MSAL.NET).
    • Support for OpenTelemetry for distributed tracing.
    • An HTTP pipeline with custom policies.
    • Improved error handling and uniform telemetry.
  2. Overview of Azure Resource Graph management client library for .NET

    main
    The Microsoft Azure Resource Graph is an Azure service that provides efficient and performant resource exploration, allowing you to query at scale across a set of subscriptions for environment governance. This library supports managing Microsoft Azure Resource Graph resources and follows the new Azure SDK guidelines, providing support for MSAL.NET (via Azure.Identity), OpenTelemetry for distributed tracing, a customizable HTTP pipeline, and improved error handling.
  3. Overview of Azure ServiceGroups management library

    main

    The Azure.ResourceManager.ServiceGroups library is a management client for Azure ServiceGroups. Service Groups are ARM tenant-level groups that represent a flexible collection of resources and scopes for a common purpose, complementing existing structures like Resource Groups, Subscriptions, and Management Groups.

    Key capabilities include:

    • Out-of-the-box support for Azure.Identity (MSAL.NET).
    • Support for OpenTelemetry for distributed tracing.
    • An HTTP pipeline with custom policies.
    • Improved error handling.
    • Uniform telemetry across all languages.
  4. Overview of Azure CarbonOptimization

    main

    Azure CarbonOptimization helps organizations measure and minimize the carbon impact of their Azure footprint. Key capabilities include:

    • Tracking and analyzing emissions across Azure resources and subscriptions.
    • Accessing carbon emissions data and insights via REST APIs and CSV exports.
    • Optimizing resource utilization to lower emissions and costs.

    The library follows the new Azure SDK guidelines, providing support for MSAL.NET (via Azure.Identity), OpenTelemetry for distributed tracing, an HTTP pipeline with custom policies, and improved error handling.

  5. Overview of Azure.ResourceManager.Workloads

    main

    Microsoft Azure Workloads is an offering designed to help customers design and implement specific VM-based workloads in Microsoft Azure. The Azure.ResourceManager.Workloads library provides management capabilities for these resources and follows modern Azure SDK guidelines, including:

    • Support for Azure.Identity (MSAL.NET).
    • Support for OpenTelemetry for distributed tracing.
    • An HTTP pipeline with custom policies.
    • Improved error handling.
    • Uniform telemetry across languages.
  6. Overview of Azure Identity Credential Classes

    main

    The Azure Identity library provides various credential classes to authenticate different types of workloads and users. All credential implementations are thread-safe, meaning a single instance can be safely reused across multiple service clients and threads.

    Credential Categories

    • Credential Chains: Use DefaultAzureCredential for a simplified experience that works across local development and Azure environments, or ChainedTokenCredential to define custom flows using multiple credentials.
    • Azure-hosted Apps: Use EnvironmentCredential, ManagedIdentityCredential, or WorkloadIdentityCredential (for Kubernetes/AKS).
    • Service Principals: Use AzurePipelinesCredential, ClientAssertionCredential, ClientCertificateCredential, or ClientSecretCredential.
    • Users: Use AuthorizationCodeCredential, DeviceCodeCredential, InteractiveBrowserCredential, or OnBehalfOfCredential.
    • Development Tools: Use AzureCliCredential, AzureDeveloperCliCredential, AzurePowerShellCredential, VisualStudioCredential, or VisualStudioCodeCredential to authenticate using your local developer environment tools.
  7. Overview of Azure Private DNS management library for .NET

    main

    The Azure.ResourceManager.PrivateDns library allows you to manage Microsoft Azure Private DNS resources, which provide secure DNS services for your virtual networks without requiring custom DNS solutions.

    Key features include:

    • Out-of-the-box support for Azure.Identity (MSAL.NET).
    • Distributed tracing support via OpenTelemetry.
    • An HTTP pipeline with custom policies.
    • Improved error handling and uniform telemetry.
  8. Overview of Azure AI Projects client capabilities

    main

    The AIProjectClient provides access to various Azure AI Foundry Project resources through specialized properties and methods:

    • Classic Agents: Create and run using GetPersistentAgentsClient().
    • Agents: Manage agents via the AgentAdministrationClient property.
    • AI Models: Enumerate deployed models using Deployments operations.
    • Connections: Enumerate connected Azure resources using Connections operations.
    • Datasets: Upload documents and create datasets using Datasets operations.
    • Search Indexes: Create and enumerate search indexes using Indexes operations.