Interface IAzureAppConfigurationService
- Namespace
 - FoundationaLLM.Common.Services
 
- Assembly
 - FoundationaLLM.Common.dll
 
Provides access to and management of Azure App Configuration.
public interface IAzureAppConfigurationService
  - Extension Methods
 
Methods
CheckAppConfigurationSettingExistsAsync(string)
Check if an individual Azure App Configuration key exists.
Task<bool> CheckAppConfigurationSettingExistsAsync(string key)
  Parameters
keystring
Returns
CheckAppConfigurationSettingsExistAsync()
Returns a map of configuration setting keys and whether they exist in Azure App Configuration.
Task<Dictionary<string, bool>> CheckAppConfigurationSettingsExistAsync()
  Returns
- Task<Dictionary<string, bool>>
 
DeleteAppConfigurationSettingAsync(string)
Deletes an Azure App Configuration setting and its associated Azure Key Vault secret.
Task DeleteAppConfigurationSettingAsync(string key)
  Parameters
keystringThe App Configuration setting key.
Returns
GetConfigurationSettingAsync(string)
Gets the value of a configuration setting from Azure App Configuration.
Task<string?> GetConfigurationSettingAsync(string key)
  Parameters
keystringThe App Configuration setting key.
Returns
GetConfigurationSettingsAsync(string)
Gets the values of configuration settings from Azure App Configuration.
Task<List<(string Key, string? Value, string ContentType)>> GetConfigurationSettingsAsync(string keyFilter)
  Parameters
keyFilterstringThe key name filter used to select the settings keys for which values are retrieved.
Returns
GetFeatureFlagAsync(string)
Gets the value of a feature flag from Azure App Configuration.
Task<bool> GetFeatureFlagAsync(string key)
  Parameters
keystringThe App Configuration feature flag key.
Returns
SetConfigurationSettingAsync(string, string, string)
Sets the value of a configuration setting in Azure App Configuration.
Task SetConfigurationSettingAsync(string key, string value, string contentType)
  Parameters
keystringThe App Configuration setting key.
valuestringThe value to set.
contentTypestringThe content type of the value.
Returns
SetFeatureFlagAsync(string, bool)
Sets the value of a feature flag in Azure App Configuration.
Task SetFeatureFlagAsync(string key, bool flagEnabled)
  Parameters
keystringThe App Configuration feature flag key.
flagEnabledboolWhether to enable the feature flag.