23 references to AzureStorageBlobsSettings
Aspire.Azure.Storage.Blobs (17)
AspireBlobStorageExtensions.cs (16)
30/// <param name="configureSettings">An optional method that can be used for customizing the <see cref="AzureStorageBlobsSettings"/>. It's invoked after the settings are read from the configuration.</param> 33/// <exception cref="InvalidOperationException">Thrown when neither <see cref="AzureStorageBlobsSettings.ConnectionString"/> nor <see cref="AzureStorageBlobsSettings.ServiceUri"/> is provided.</exception> 37Action<AzureStorageBlobsSettings>? configureSettings = null, 49/// <param name="configureSettings">An optional method that can be used for customizing the <see cref="AzureStorageBlobsSettings"/>. It's invoked after the settings are read from the configuration.</param> 52/// <exception cref="InvalidOperationException">Thrown when neither <see cref="AzureStorageBlobsSettings.ConnectionString"/> nor <see cref="AzureStorageBlobsSettings.ServiceUri"/> is provided.</exception> 56Action<AzureStorageBlobsSettings>? configureSettings = null, 64private sealed class BlobStorageComponent : AzureComponent<AzureStorageBlobsSettings, BlobServiceClient, BlobClientOptions> 67AzureClientFactoryBuilder azureFactoryBuilder, AzureStorageBlobsSettings settings, string connectionName, 91protected override void BindSettingsToConfiguration(AzureStorageBlobsSettings settings, IConfiguration configuration) 96protected override IHealthCheck CreateHealthCheck(BlobServiceClient client, AzureStorageBlobsSettings settings) 99protected override bool GetHealthCheckEnabled(AzureStorageBlobsSettings settings) 102protected override TokenCredential? GetTokenCredential(AzureStorageBlobsSettings settings) 105protected override bool GetMetricsEnabled(AzureStorageBlobsSettings settings) 108protected override bool GetTracingEnabled(AzureStorageBlobsSettings settings)
AssemblyInfo.cs (1)
8[assembly: ConfigurationSchema("Aspire:Azure:Storage:Blobs", typeof(AzureStorageBlobsSettings))]
Aspire.Azure.Storage.Blobs.Tests (6)
ConformanceTests.cs (6)
15public class ConformanceTests : ConformanceTests<BlobServiceClient, AzureStorageBlobsSettings> 77protected override void RegisterComponent(HostApplicationBuilder builder, Action<AzureStorageBlobsSettings>? configure = null, string? key = null) 88void ConfigureCredentials(AzureStorageBlobsSettings settings) 98protected override void SetHealthCheck(AzureStorageBlobsSettings options, bool enabled) 101protected override void SetMetrics(AzureStorageBlobsSettings options, bool enabled) 104protected override void SetTracing(AzureStorageBlobsSettings options, bool enabled)