AzureAppConfigurationOptions.Connect Method

Definition

Overloads

Connect(IEnumerable<Uri>, TokenCredential)

Connect the provider to an Azure App Configuration store and its replicas using a list of endpoints and a token credential.

Connect(Uri, TokenCredential)

Connect the provider to Azure App Configuration using endpoint and token credentials.

Connect(IEnumerable<String>)

Connect the provider to an Azure App Configuration store and its replicas via a list of connection strings.

Connect(String)

Connect the provider to the Azure App Configuration service via a connection string.

Connect(IEnumerable<Uri>, TokenCredential)

Connect the provider to an Azure App Configuration store and its replicas using a list of endpoints and a token credential.

public Microsoft.Extensions.Configuration.AzureAppConfiguration.AzureAppConfigurationOptions Connect (System.Collections.Generic.IEnumerable<Uri> endpoints, Azure.Core.TokenCredential credential);

Parameters

endpoints
IEnumerable<Uri>

The list of endpoints of an Azure App Configuration store and its replicas to connect to.

credential
TokenCredential

Token credential to use to connect.

Returns

Applies to

Azure SDK for .NET Preview e Azure SDK for .NET Latest
Prodotto Versioni
Azure SDK for .NET Latest, Preview

Connect(Uri, TokenCredential)

Connect the provider to Azure App Configuration using endpoint and token credentials.

public Microsoft.Extensions.Configuration.AzureAppConfiguration.AzureAppConfigurationOptions Connect (Uri endpoint, Azure.Core.TokenCredential credential);

Parameters

endpoint
Uri

The endpoint of the Azure App Configuration to connect to.

credential
TokenCredential

Token credentials to use to connect.

Returns

Applies to

Azure SDK for .NET Preview e Azure SDK for .NET Latest
Prodotto Versioni
Azure SDK for .NET Latest, Preview

Connect(IEnumerable<String>)

Connect the provider to an Azure App Configuration store and its replicas via a list of connection strings.

public Microsoft.Extensions.Configuration.AzureAppConfiguration.AzureAppConfigurationOptions Connect (System.Collections.Generic.IEnumerable<string> connectionStrings);

Parameters

connectionStrings
IEnumerable<String>

Used to authenticate with Azure App Configuration.

Returns

Applies to

Azure SDK for .NET Preview e Azure SDK for .NET Latest
Prodotto Versioni
Azure SDK for .NET Latest, Preview

Connect(String)

Connect the provider to the Azure App Configuration service via a connection string.

public Microsoft.Extensions.Configuration.AzureAppConfiguration.AzureAppConfigurationOptions Connect (string connectionString);

Parameters

connectionString
String

Used to authenticate with Azure App Configuration.

Returns

Applies to

Azure SDK for .NET Preview e Azure SDK for .NET Latest
Prodotto Versioni
Azure SDK for .NET Latest, Preview