Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

AddAzureSearch

Method
📦 Aspire.Hosting.Azure.Search v17.0.0
func (DistributedApplicationBuilder) AddAzureSearch(name string) AzureSearchResource

Signature

methodAddAzureSearchbuilder
Adds an Azure AI Search service resource to the application model.
AddAzureSearch(name string) AzureSearchResource
namestringThe name of the Azure AI Search resource.
AzureSearchResource

The resource builder.

Returns a handle; failures surface later via Err().

Applies to

This method applies to the following types:

typeDistributedApplicationBuilder