共用方式為


AzureSearchResource Constructors

Definition

Overloads

AzureSearchResource(String, Action<AzureResourceInfrastructure>)

Represents an Azure AI Search resource.

AzureSearchResource(String, Action<ResourceModuleConstruct>)

Represents an Azure AI Search resource.

AzureSearchResource(String, Action<AzureResourceInfrastructure>)

Source:
AzureSearchResource.cs

Represents an Azure AI Search resource.

public AzureSearchResource (string name, Action<Aspire.Hosting.Azure.AzureResourceInfrastructure> configureInfrastructure);
new Aspire.Hosting.Azure.AzureSearchResource : string * Action<Aspire.Hosting.Azure.AzureResourceInfrastructure> -> Aspire.Hosting.Azure.AzureSearchResource
Public Sub New (name As String, configureInfrastructure As Action(Of AzureResourceInfrastructure))

Parameters

name
String

The name of the resource

configureInfrastructure
Action<AzureResourceInfrastructure>

Callback to configure the Azure AI Search resource.

Applies to

AzureSearchResource(String, Action<ResourceModuleConstruct>)

Source:
AzureSearchResource.cs

Represents an Azure AI Search resource.

public AzureSearchResource (string name, Action<Aspire.Hosting.ResourceModuleConstruct> configureConstruct);
new Aspire.Hosting.Azure.AzureSearchResource : string * Action<Aspire.Hosting.ResourceModuleConstruct> -> Aspire.Hosting.Azure.AzureSearchResource
Public Sub New (name As String, configureConstruct As Action(Of ResourceModuleConstruct))

Parameters

name
String

The name of the resource

configureConstruct
Action<ResourceModuleConstruct>

Callback to configure the Azure AI Search resource.

Applies to