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>
37
Action<
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>
56
Action<
AzureStorageBlobsSettings
>? configureSettings = null,
64
private sealed class BlobStorageComponent : AzureComponent<
AzureStorageBlobsSettings
, BlobServiceClient, BlobClientOptions>
67
AzureClientFactoryBuilder azureFactoryBuilder,
AzureStorageBlobsSettings
settings, string connectionName,
91
protected override void BindSettingsToConfiguration(
AzureStorageBlobsSettings
settings, IConfiguration configuration)
96
protected override IHealthCheck CreateHealthCheck(BlobServiceClient client,
AzureStorageBlobsSettings
settings)
99
protected override bool GetHealthCheckEnabled(
AzureStorageBlobsSettings
settings)
102
protected override TokenCredential? GetTokenCredential(
AzureStorageBlobsSettings
settings)
105
protected override bool GetMetricsEnabled(
AzureStorageBlobsSettings
settings)
108
protected 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)
15
public class ConformanceTests : ConformanceTests<BlobServiceClient,
AzureStorageBlobsSettings
>
77
protected override void RegisterComponent(HostApplicationBuilder builder, Action<
AzureStorageBlobsSettings
>? configure = null, string? key = null)
88
void ConfigureCredentials(
AzureStorageBlobsSettings
settings)
98
protected override void SetHealthCheck(
AzureStorageBlobsSettings
options, bool enabled)
101
protected override void SetMetrics(
AzureStorageBlobsSettings
options, bool enabled)
104
protected override void SetTracing(
AzureStorageBlobsSettings
options, bool enabled)