Skip to content
DocsTry Aspire
DocsTry

AzureSearchResource Constructors

ClassConstructors1 member
Represents an Azure AI Search resource.
Constructor(string, Action<AzureResourceInfrastructure>)Section titled Constructor(string, Action<AzureResourceInfrastructure>)
Represents an Azure AI Search resource.
public class AzureSearchResource
{
public AzureSearchResource(
string name,
Action<AzureResourceInfrastructure> configureInfrastructure)
{
// ...
}
}
namestringThe name of the resource
configureInfrastructureAction<AzureResourceInfrastructure>Callback to configure the Azure AI Search resource.