Share via


AzureSearchExtensions Class

Definition

Provides extension methods for adding the Azure AI Search resources to the application model.

public static class AzureSearchExtensions
type AzureSearchExtensions = class
Public Module AzureSearchExtensions
Inheritance
AzureSearchExtensions

Methods

AddAzureSearch(IDistributedApplicationBuilder, String, Action<IResourceBuilder<AzureSearchResource>,ResourceModuleConstruct,SearchService>)

Adds an Azure AI Search service resource to the application model.

AddAzureSearch(IDistributedApplicationBuilder, String)

Adds an Azure AI Search service resource to the application model.

WithRoleAssignments<T>(IResourceBuilder<T>, IResourceBuilder<AzureSearchResource>, SearchBuiltInRole[])

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.

Applies to