你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

AzureAppConfigurationOptions 类

定义

用于配置Azure 应用程序配置提供程序行为的选项。

public class AzureAppConfigurationOptions
type AzureAppConfigurationOptions = class
Public Class AzureAppConfigurationOptions
继承
AzureAppConfigurationOptions

构造函数

AzureAppConfigurationOptions()

用于配置Azure 应用程序配置提供程序行为的选项。

属性

KeyValueSelectors

KeyValueSelector 的集合。

方法

ConfigureClientOptions(Action<ConfigurationClientOptions>)

配置用于与Azure 应用程序配置通信的客户端。

ConfigureKeyVault(Action<AzureAppConfigurationKeyVaultOptions>)

将Azure 应用程序配置提供程序配置为使用提供的密钥保管库配置来解析密钥保管库引用。

ConfigureRefresh(Action<AzureAppConfigurationRefreshOptions>)

在配置提供程序中为键值配置刷新。

Connect(IEnumerable<Uri>, TokenCredential)

使用终结点列表和令牌凭据将提供程序连接到Azure 应用程序配置存储及其副本。

Connect(String)

通过连接字符串将提供程序连接到Azure 应用程序配置服务。

Connect(Uri, TokenCredential)

使用终结点和令牌凭据将提供程序连接到Azure 应用程序配置。

GetRefresher()

获取 可用于触发已注册键值的刷新的 实例 IConfigurationRefresher

Select(String, String)

指定要包含在配置提供程序中的键值。 Select(String, String) 可以多次调用以包含多组键值。

TrimKeyPrefix(String)

从从 Azure 应用程序配置 检索到的所有键值的键中剪裁提供的前缀。

UseFeatureFlags(Action<FeatureFlagOptions>)

允许分析Azure 应用程序配置功能标志并将其转换为功能管理配置。

适用于