# Aspire.Hosting.Azure.ContainerRegistry

- Module: `Aspire.Hosting.Azure.ContainerRegistry`
- Version: `13.3.0`
- Source: [GitHub](https://github.com/microsoft/aspire)
- Functions: `5`
- Types: `2`

## Types

- [AzureContainerRegistryResource](/reference/api/typescript/aspire.hosting.azure.containerregistry/azurecontainerregistryresource.md) -- `handle` - 1 members

## Functions

- [addAzureContainerRegistry](/reference/api/typescript/aspire.hosting.azure.containerregistry/addazurecontainerregistry.md) -- `method` -- Adds an Azure Container Registry resource to the distributed application model.
- [getAzureContainerRegistry](/reference/api/typescript/aspire.hosting.azure.containerregistry/getazurecontainerregistry.md) -- `method` -- Gets the Azure Container Registry associated with a compute environment resource.
- [withAzureContainerRegistry](/reference/api/typescript/aspire.hosting.azure.containerregistry/withazurecontainerregistry.md) -- `method` -- Configures a compute environment resource to use an Azure Container Registry.
- [withPurgeTask](/reference/api/typescript/aspire.hosting.azure.containerregistry/withpurgetask.md) -- `method` -- Configures a purge task for the Azure Container Registry resource.
- [withRoleAssignments](/reference/api/typescript/aspire.hosting.azure.containerregistry/withroleassignments.md) -- `method` -- Assigns Azure Container Registry roles to a resource.

## Enums

- [AzureContainerRegistryRole](/reference/api/typescript/aspire.hosting.azure.containerregistry/azurecontainerregistryrole.md) -- `enum` - 6 values
