# Aspire.Hosting.Azure.Search

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

## Types

- [AzureSearchResource](/reference/api/typescript/aspire.hosting.azure.search/azuresearchresource.md) -- `handle` - 0 members

## Functions

- [addAzureSearch](/reference/api/typescript/aspire.hosting.azure.search/addazuresearch.md) -- `method` -- Adds an Azure AI Search service resource to the application model.
- [withSearchRoleAssignments](/reference/api/typescript/aspire.hosting.azure.search/withsearchroleassignments.md) -- `method` -- Assigns the specified roles to the given resource, granting it the necessary permissions on the target Azure AI Search service resource. This replaces the default role assignments for the resource.

## Enums

- [AzureSearchRole](/reference/api/typescript/aspire.hosting.azure.search/azuresearchrole.md) -- `enum` - 3 values -- Represents ATS-compatible Azure AI Search roles.
