Share via


ConfigurationClientBuilderExtensions.AddConfigurationClient Method

Definition

Overloads

AddConfigurationClient<TBuilder,TConfiguration>(TBuilder, TConfiguration)

Registers a ConfigurationClient instance.

AddConfigurationClient<TBuilder>(TBuilder, Uri)

Registers a ConfigurationClient instance with the provided configurationUri.

AddConfigurationClient<TBuilder>(TBuilder, String)

Registers a ConfigurationClient instance with the provided connectionString.

AddConfigurationClient<TBuilder,TConfiguration>(TBuilder, TConfiguration)

Source:
ConfigurationClientBuilderExtensions.cs
Source:
ConfigurationClientBuilderExtensions.cs

Registers a ConfigurationClient instance.

public static Azure.Core.Extensions.IAzureClientBuilder<Azure.Data.AppConfiguration.ConfigurationClient,Azure.Data.AppConfiguration.ConfigurationClientOptions> AddConfigurationClient<TBuilder,TConfiguration> (this TBuilder builder, TConfiguration configuration) where TBuilder : Azure.Core.Extensions.IAzureClientFactoryBuilderWithConfiguration<TConfiguration>;
static member AddConfigurationClient : 'Builder * 'Configuration -> Azure.Core.Extensions.IAzureClientBuilder<Azure.Data.AppConfiguration.ConfigurationClient, Azure.Data.AppConfiguration.ConfigurationClientOptions> (requires 'Builder :> Azure.Core.Extensions.IAzureClientFactoryBuilderWithConfiguration<'Configuration>)
<Extension()>
Public Function AddConfigurationClient(Of TBuilder As IAzureClientFactoryBuilderWithConfiguration(Of TConfiguration), TConfiguration As IAzureClientFactoryBuilderWithConfiguration(Of TConfiguration)) (builder As TBuilder, configuration As TConfiguration) As IAzureClientBuilder(Of ConfigurationClient, ConfigurationClientOptions)

Type Parameters

TBuilder
TConfiguration

Parameters

builder
TBuilder

The builder to register with.

configuration
TConfiguration

The configuration values.

Returns

Applies to

AddConfigurationClient<TBuilder>(TBuilder, Uri)

Source:
ConfigurationClientBuilderExtensions.cs
Source:
ConfigurationClientBuilderExtensions.cs

Registers a ConfigurationClient instance with the provided configurationUri.

public static Azure.Core.Extensions.IAzureClientBuilder<Azure.Data.AppConfiguration.ConfigurationClient,Azure.Data.AppConfiguration.ConfigurationClientOptions> AddConfigurationClient<TBuilder> (this TBuilder builder, Uri configurationUri) where TBuilder : Azure.Core.Extensions.IAzureClientFactoryBuilderWithCredential;
static member AddConfigurationClient : 'Builder * Uri -> Azure.Core.Extensions.IAzureClientBuilder<Azure.Data.AppConfiguration.ConfigurationClient, Azure.Data.AppConfiguration.ConfigurationClientOptions> (requires 'Builder :> Azure.Core.Extensions.IAzureClientFactoryBuilderWithCredential)
<Extension()>
Public Function AddConfigurationClient(Of TBuilder As IAzureClientFactoryBuilderWithCredential) (builder As TBuilder, configurationUri As Uri) As IAzureClientBuilder(Of ConfigurationClient, ConfigurationClientOptions)

Type Parameters

TBuilder

Parameters

builder
TBuilder
configurationUri
Uri

Returns

Applies to

AddConfigurationClient<TBuilder>(TBuilder, String)

Source:
ConfigurationClientBuilderExtensions.cs
Source:
ConfigurationClientBuilderExtensions.cs

Registers a ConfigurationClient instance with the provided connectionString.

public static Azure.Core.Extensions.IAzureClientBuilder<Azure.Data.AppConfiguration.ConfigurationClient,Azure.Data.AppConfiguration.ConfigurationClientOptions> AddConfigurationClient<TBuilder> (this TBuilder builder, string connectionString) where TBuilder : Azure.Core.Extensions.IAzureClientFactoryBuilder;
static member AddConfigurationClient : 'Builder * string -> Azure.Core.Extensions.IAzureClientBuilder<Azure.Data.AppConfiguration.ConfigurationClient, Azure.Data.AppConfiguration.ConfigurationClientOptions> (requires 'Builder :> Azure.Core.Extensions.IAzureClientFactoryBuilder)
<Extension()>
Public Function AddConfigurationClient(Of TBuilder As IAzureClientFactoryBuilder) (builder As TBuilder, connectionString As String) As IAzureClientBuilder(Of ConfigurationClient, ConfigurationClientOptions)

Type Parameters

TBuilder

Parameters

builder
TBuilder
connectionString
String

Returns

Applies to