AzureAppConfigurationOptions Class

Definition

Options used to configure the behavior of an Azure App Configuration provider.

public class AzureAppConfigurationOptions
type AzureAppConfigurationOptions = class
Public Class AzureAppConfigurationOptions
Inheritance
System.Object
AzureAppConfigurationOptions

Constructors

AzureAppConfigurationOptions()

Properties

KeyValueSelectors

A collection of KeyValueSelector.

OfflineCache

An offline cache provider which can be used to enable offline data retrieval and storage.

Methods

ConfigureClientOptions(Action<ConfigurationClientOptions>)

Configure the client 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.

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.

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.

SetOfflineCache(IOfflineCache)

Use an offline file cache to store Azure App Configuration data or retrieve previously stored data during offline periods.

TrimKeyPrefix(String)

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

UseFeatureFlags(Action<FeatureFlagOptions>)

Enables Azure App Configuration feature flags to be parsed and transformed into feature management configuration.

Applies to