# Aspire.Hosting.Azure

- Package: `Aspire.Hosting.Azure`
- Version: `13.3.0`
- Target framework: `net8.0`
- Source: [GitHub](https://github.com/microsoft/aspire/tree/bd20f904cde09ecb9c9ae5116a6f13614bf2d7c2/src/Aspire.Hosting.Azure)
- NuGet: [Aspire.Hosting.Azure](https://www.nuget.org/packages/Aspire.Hosting.Azure)

## Namespaces

### Aspire.Hosting

- [AzureBicepResourceExtensions](/reference/api/csharp/aspire.hosting.azure/azurebicepresourceextensions.md) -- `class` `static` -- Extension methods for adding Azure Bicep resources to the application model.
- [AzureProvisionerExtensions](/reference/api/csharp/aspire.hosting.azure/azureprovisionerextensions.md) -- `class` `static` -- Provides extension methods for adding support for generating Azure resources dynamically during application startup.
- [AzureProvisioningResourceExtensions](/reference/api/csharp/aspire.hosting.azure/azureprovisioningresourceextensions.md) -- `class` `static` -- Extensions for working with [AzureProvisioningResource](/reference/api/csharp/aspire.hosting.azure/azureprovisioningresource.md) and related types.
- [AzureResourceExtensions](/reference/api/csharp/aspire.hosting.azure/azureresourceextensions.md) -- `class` `static` -- Provides extension methods for adding Azure resources to the application model.
- [ExistingAzureResourceExtensions](/reference/api/csharp/aspire.hosting.azure/existingazureresourceextensions.md) -- `class` `static` -- Extension methods for interacting with resources that are not managed by Aspire's provisioning or container management layer.

### Aspire.Hosting.ApplicationModel

- [IAzureResource](/reference/api/csharp/aspire.hosting.azure/iazureresource.md) -- `interface` `ats export` -- Represents an Azure resource, as a marker interface for `ApplicationModel.IResource` 's that can be deployed to an Azure resource group.

### Aspire.Hosting.Azure

- [AppIdentityAnnotation](/reference/api/csharp/aspire.hosting.azure/appidentityannotation.md) -- `class` -- An annotation for an application's identity resource.
- [AspireV8ResourceNamePropertyResolver](/reference/api/csharp/aspire.hosting.azure/aspirev8resourcenamepropertyresolver.md) -- `class` `sealed` -- Uses the Aspire v8.x naming scheme to provide default names for Azure resources.
- [AzureBicepResource](/reference/api/csharp/aspire.hosting.azure/azurebicepresource.md) -- `class` -- Represents an Azure Bicep resource.
- [AzureBicepResourceAnnotation](/reference/api/csharp/aspire.hosting.azure/azurebicepresourceannotation.md) -- `class` -- Used to annotate resources as being potentially deployable by the `Azure.AzureProvisioner`.
- [AzureBicepResourceScope](/reference/api/csharp/aspire.hosting.azure/azurebicepresourcescope.md) -- `class` `sealed` -- Represents the scope associated with the resource.
- [AzureEnvironmentResource](/reference/api/csharp/aspire.hosting.azure/azureenvironmentresource.md) -- `class` `sealed` -- Represents the root Azure deployment target for an Aspire application. Manages deployment parameters and context for Azure resources.
- [AzureEnvironmentResourceExtensions](/reference/api/csharp/aspire.hosting.azure/azureenvironmentresourceextensions.md) -- `class` `static` -- Provides extension methods for adding Azure environment resources to the application model.
- [AzureFunctionsAnnotation](/reference/api/csharp/aspire.hosting.azure/azurefunctionsannotation.md) -- `class` `sealed` -- Used to annotate resources as Azure Functions.
- [AzureProvisioningOptions](/reference/api/csharp/aspire.hosting.azure/azureprovisioningoptions.md) -- `class` `sealed` -- Options to configure the behavior of Azure resources.
- [AzureProvisioningResource](/reference/api/csharp/aspire.hosting.azure/azureprovisioningresource.md) -- `class` -- An Aspire resource that supports use of Azure Provisioning APIs to create Azure resources.
- [AzurePublishingContext](/reference/api/csharp/aspire.hosting.azure/azurepublishingcontext.md) -- `class` `sealed` -- Represents a context for publishing Azure bicep templates for a distributed application.
- [AzureResourceInfrastructure](/reference/api/csharp/aspire.hosting.azure/azureresourceinfrastructure.md) -- `class` `sealed` `ats export` -- An Azure Provisioning `Provisioning.Infrastructure` which represents the root Bicep module that is generated for an Azure resource.
- [AzureUserAssignedIdentityExtensions](/reference/api/csharp/aspire.hosting.azure/azureuserassignedidentityextensions.md) -- `class` `static` -- Provides extension methods for working with Azure user‑assigned identities.
- [AzureUserAssignedIdentityResource](/reference/api/csharp/aspire.hosting.azure/azureuserassignedidentityresource.md) -- `class` `sealed` -- An Azure Provisioning resource that represents an Azure user assigned managed identity.
- [BicepOutputReference](/reference/api/csharp/aspire.hosting.azure/bicepoutputreference.md) -- `class` `sealed` `ats export` -- A reference to an output from a bicep template.
- [BicepSecretOutputReference](/reference/api/csharp/aspire.hosting.azure/bicepsecretoutputreference.md) -- `class` `sealed` `obsolete` -- A reference to a KeyVault secret from a bicep template.
- [BicepTemplateFile](/reference/api/csharp/aspire.hosting.azure/biceptemplatefile.md) -- `struct` `readonly` -- Represents a bicep template file.
- [DefaultRoleAssignmentsAnnotation](/reference/api/csharp/aspire.hosting.azure/defaultroleassignmentsannotation.md) -- `class` -- Specifies the default role assignments to be applied to an Azure resource when no specific role assignments (i.e., [RoleAssignmentAnnotation](/reference/api/csharp/aspire.hosting.azure/roleassignmentannotation.md)) are provided.
- [DelegatedSubnetAnnotation](/reference/api/csharp/aspire.hosting.azure/delegatedsubnetannotation.md) -- `class` `sealed` -- Annotation that stores a reference to a subnet for an Azure resource that implements [IAzureDelegatedSubnetResource](/reference/api/csharp/aspire.hosting.azure/iazuredelegatedsubnetresource.md).
- [DeploymentPrerequisitesAnnotation](/reference/api/csharp/aspire.hosting.azure/deploymentprerequisitesannotation.md) -- `class` `sealed` -- An annotation that tracks Azure resources (such as role assignments and private endpoints) that must be provisioned before a compute resource can be deployed.
- [ExistingAzureResourceAnnotation](/reference/api/csharp/aspire.hosting.azure/existingazureresourceannotation.md) -- `class` `sealed` -- Represents a resource that is not managed by Aspire's provisioning or container management layer.
- [IAddRoleAssignmentsContext](/reference/api/csharp/aspire.hosting.azure/iaddroleassignmentscontext.md) -- `interface` -- Context for adding role assignments to an Azure resource.
- [IAppIdentityResource](/reference/api/csharp/aspire.hosting.azure/iappidentityresource.md) -- `interface` -- An Azure resource that represents an application's managed identity.
- [IAzureComputeEnvironmentResource](/reference/api/csharp/aspire.hosting.azure/iazurecomputeenvironmentresource.md) -- `interface` -- Represents an Azure compute environment resource.
- [IAzureContainerRegistry](/reference/api/csharp/aspire.hosting.azure/iazurecontainerregistry.md) -- `interface` `obsolete` -- Represents Azure Container Registry information for deployment targets.
- [IAzureContainerRegistryResource](/reference/api/csharp/aspire.hosting.azure/iazurecontainerregistryresource.md) -- `interface` -- Represents an Azure Container Registry resource.
- [IAzureDelegatedSubnetResource](/reference/api/csharp/aspire.hosting.azure/iazuredelegatedsubnetresource.md) -- `interface` -- Represents an Azure resource that supports subnet delegation.
- [IAzureKeyVaultResource](/reference/api/csharp/aspire.hosting.azure/iazurekeyvaultresource.md) -- `interface` `ats export` -- Represents a resource that represents an Azure Key Vault.
- [IAzureKeyVaultSecretReference](/reference/api/csharp/aspire.hosting.azure/iazurekeyvaultsecretreference.md) -- `interface` `ats export` -- Represents a reference to a secret in an Azure Key Vault resource.
- [IAzureNspAssociationTarget](/reference/api/csharp/aspire.hosting.azure/iazurenspassociationtarget.md) -- `interface` -- Represents an Azure resource that can be associated with a Network Security Perimeter.
- [IAzurePrivateEndpointTarget](/reference/api/csharp/aspire.hosting.azure/iazureprivateendpointtarget.md) -- `interface` -- Represents an Azure resource that can be connected to via a private endpoint.
- [IResourceWithAzureFunctionsConfig](/reference/api/csharp/aspire.hosting.azure/iresourcewithazurefunctionsconfig.md) -- `interface` -- Represents an resource that can provide configuration for Azure Functions.
- [KnownParameters](/reference/api/csharp/aspire.hosting.azure/knownparameters.md) -- `class` `static` -- Known parameters that will be filled in automatically by the host environment.
- [PrivateEndpointTargetAnnotation](/reference/api/csharp/aspire.hosting.azure/privateendpointtargetannotation.md) -- `class` `sealed` -- An annotation that indicates a resource is the target of a private endpoint.
- [RoleAssignmentAnnotation](/reference/api/csharp/aspire.hosting.azure/roleassignmentannotation.md) -- `class` -- Specifies the roles that the current resource should be assigned to the target Azure resource.
- [RoleDefinition](/reference/api/csharp/aspire.hosting.azure/roledefinition.md) -- `struct` -- Represents a role definition within an Azure resource.
