AzureSearchSettings Class

Definition

Provides the client configuration settings for connecting to Azure AI Search.

C#
public sealed class AzureSearchSettings
Inheritance
AzureSearchSettings

Constructors

Properties

Credential

Gets or sets the credential used to authenticate to the Azure AI Search resource.

DisableHealthChecks

Gets or sets a boolean value that indicates whether the Azure AI Search health check is disabled or not.

DisableTracing

Gets or sets a boolean value that indicates whether the OpenTelemetry tracing is disabled or not.

Endpoint

Gets or sets a Uri referencing the Azure AI Search endpoint. This is likely to be similar to "https://{search_service}.search.windows.net".

Key

Gets or sets the key to use to authenticate to the Azure AI Search endpoint.

Applies to

Product Versions
.NET Aspire 8.0.0, 9.0.0, 9.1.0