AzureAppConfigurationOptions.Connect Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 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);
member this.Connect : seq<Uri> * Azure.Core.TokenCredential -> Microsoft.Extensions.Configuration.AzureAppConfiguration.AzureAppConfigurationOptions
Public Function Connect (endpoints As IEnumerable(Of Uri), credential As TokenCredential) As AzureAppConfigurationOptions
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 the provider to Azure App Configuration using endpoint and token credentials.
public Microsoft.Extensions.Configuration.AzureAppConfiguration.AzureAppConfigurationOptions Connect (Uri endpoint, Azure.Core.TokenCredential credential);
member this.Connect : Uri * Azure.Core.TokenCredential -> Microsoft.Extensions.Configuration.AzureAppConfiguration.AzureAppConfigurationOptions
Public Function Connect (endpoint As Uri, credential As TokenCredential) As AzureAppConfigurationOptions
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 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);
member this.Connect : seq<string> -> Microsoft.Extensions.Configuration.AzureAppConfiguration.AzureAppConfigurationOptions
Public Function Connect (connectionStrings As IEnumerable(Of String)) As AzureAppConfigurationOptions
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 the provider to the Azure App Configuration service via a connection string.
public Microsoft.Extensions.Configuration.AzureAppConfiguration.AzureAppConfigurationOptions Connect (string connectionString);
member this.Connect : string -> Microsoft.Extensions.Configuration.AzureAppConfiguration.AzureAppConfigurationOptions
Public Function Connect (connectionString As String) As AzureAppConfigurationOptions
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 |
Feedback su Azure SDK for .NET
Azure SDK for .NET è un progetto di open source. Selezionare un collegamento per fornire feedback: