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, 48/// <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> 54Action<AzureSearchSettings>? configureSettings = null, 62private sealed class AzureSearchComponent : AzureComponent<AzureSearchSettings, SearchIndexClient, SearchClientOptions> 70AzureClientFactoryBuilder azureFactoryBuilder, AzureSearchSettings settings, string connectionName, 77throw 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."); 98protected override void BindSettingsToConfiguration(AzureSearchSettings settings, IConfiguration config) 103protected override IHealthCheck CreateHealthCheck(SearchIndexClient client, AzureSearchSettings settings) 106protected override bool GetHealthCheckEnabled(AzureSearchSettings settings) 109protected override TokenCredential? GetTokenCredential(AzureSearchSettings settings) 112protected override bool GetMetricsEnabled(AzureSearchSettings settings) 115protected 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)
15public class ConformanceTests : ConformanceTests<SearchIndexClient, AzureSearchSettings> 63protected override void RegisterComponent(HostApplicationBuilder builder, Action<AzureSearchSettings>? configure = null, string? key = null) 74void ConfigureCredentials(AzureSearchSettings settings) 93protected override void SetHealthCheck(AzureSearchSettings options, bool enabled) 96protected override void SetMetrics(AzureSearchSettings options, bool enabled) 99protected override void SetTracing(AzureSearchSettings options, bool enabled)