AzureAppConfigurationOptions Class

Definition

Options used to configure the behavior of an Azure App Configuration provider.
If neither Select(String, String) nor SelectSnapshot(String) is ever called, all key-values with no label are included in the configuration provider.

public class AzureAppConfigurationOptions
type AzureAppConfigurationOptions = class
Public Class AzureAppConfigurationOptions
Inheritance
AzureAppConfigurationOptions

Constructors

AzureAppConfigurationOptions()

Initializes a new instance of the AzureAppConfigurationOptions class.

Properties

LoadBalancingEnabled

Flag to indicate whether load balancing is enabled.

ReplicaDiscoveryEnabled

Flag to indicate whether replica discovery is enabled.

Methods

ConfigureClientOptions(Action<ConfigurationClientOptions>)

Configure the client(s) used to communicate with Azure App Configuration.

ConfigureKeyVault(Action<AzureAppConfigurationKeyVaultOptions>)

Configures the Azure App Configuration provider to use the provided Key Vault configuration to resolve key vault references.

ConfigureRefresh(Action<AzureAppConfigurationRefreshOptions>)

Configure refresh for key-values in the configuration provider.

ConfigureStartupOptions(Action<StartupOptions>)

Configure the provider behavior when loading data from Azure App Configuration on startup.

Connect(IEnumerable<String>)

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

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(String)

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

Connect(Uri, TokenCredential)

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

GetRefresher()

Get an instance of IConfigurationRefresher that can be used to trigger a refresh for the registered key-values.

Map(Func<ConfigurationSetting,ValueTask<ConfigurationSetting>>)

Provides a way to transform settings retrieved from App Configuration before they are processed by the configuration provider.

Select(String, String)

Specify what key-values to include in the configuration provider. Select(String, String) can be called multiple times to include multiple sets of key-values.

SelectSnapshot(String)

Specify a snapshot and include its contained key-values in the configuration provider. SelectSnapshot(String) can be called multiple times to include key-values from multiple snapshots.

TrimKeyPrefix(String)

Trims the provided prefix from the keys of all key-values retrieved from Azure App Configuration.

UseFeatureFlags(Action<FeatureFlagOptions>)

Configures options for Azure App Configuration feature flags that will be parsed and transformed into feature management configuration. If no filtering is specified via the FeatureFlagOptions then all feature flags with no label are loaded. All loaded feature flags will be automatically registered for refresh on an individual flag level.

Applies to