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,
52
/// <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>
55
/// <exception cref="InvalidOperationException">Thrown when neither <see cref="
AzureStorageBlobsSettings
.ConnectionString"/> nor <see cref="
AzureStorageBlobsSettings
.ServiceUri"/> is provided.</exception>
59
Action<
AzureStorageBlobsSettings
>? configureSettings = null,
68
private sealed class BlobStorageComponent : AzureComponent<
AzureStorageBlobsSettings
, BlobServiceClient, BlobClientOptions>
71
AzureClientFactoryBuilder azureFactoryBuilder,
AzureStorageBlobsSettings
settings, string connectionName,
95
protected override void BindSettingsToConfiguration(
AzureStorageBlobsSettings
settings, IConfiguration configuration)
100
protected override IHealthCheck CreateHealthCheck(BlobServiceClient client,
AzureStorageBlobsSettings
settings)
103
protected override bool GetHealthCheckEnabled(
AzureStorageBlobsSettings
settings)
106
protected override TokenCredential? GetTokenCredential(
AzureStorageBlobsSettings
settings)
109
protected override bool GetMetricsEnabled(
AzureStorageBlobsSettings
settings)
112
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)