20 references to AzureSearchSettings
Aspire.Azure.Search.Documents (14)
AspireAzureSearchExtensions.cs (13)
31/// <param name="configureSettings">An optional method that can be used for customizing the <see cref="AzureSearchSettings"/>. It's invoked after the settings are read from the configuration.</param> 37Action<AzureSearchSettings>? configureSettings = null, 51/// <param name="configureSettings">An optional method that can be used for customizing the <see cref="AzureSearchSettings"/>. It's invoked after the settings are read from the configuration.</param> 57Action<AzureSearchSettings>? configureSettings = null, 66private sealed class AzureSearchComponent : AzureComponent<AzureSearchSettings, SearchIndexClient, SearchClientOptions> 74AzureClientFactoryBuilder azureFactoryBuilder, AzureSearchSettings settings, string connectionName, 81throw new InvalidOperationException($"A SearchIndexClient could not be configured. Ensure valid connection information was provided in 'ConnectionStrings:{connectionName}' or specify an '{nameof(AzureSearchSettings.Endpoint)}' in the '{configurationSectionName}' configuration section."); 102protected override void BindSettingsToConfiguration(AzureSearchSettings settings, IConfiguration config) 107protected override IHealthCheck CreateHealthCheck(SearchIndexClient client, AzureSearchSettings settings) 110protected override bool GetHealthCheckEnabled(AzureSearchSettings settings) 113protected override TokenCredential? GetTokenCredential(AzureSearchSettings settings) 116protected override bool GetMetricsEnabled(AzureSearchSettings settings) 119protected override bool GetTracingEnabled(AzureSearchSettings settings)
AssemblyInfo.cs (1)
8[assembly: ConfigurationSchema("Aspire:Azure:Search:Documents", typeof(AzureSearchSettings))]
Aspire.Azure.Search.Documents.Tests (6)
ConformanceTests.cs (6)
14public class ConformanceTests : ConformanceTests<SearchIndexClient, AzureSearchSettings> 62protected override void RegisterComponent(HostApplicationBuilder builder, Action<AzureSearchSettings>? configure = null, string? key = null) 73void ConfigureCredentials(AzureSearchSettings settings) 96protected override void SetHealthCheck(AzureSearchSettings options, bool enabled) 99protected override void SetMetrics(AzureSearchSettings options, bool enabled) 102protected override void SetTracing(AzureSearchSettings options, bool enabled)