Class AzureAppConfigurationAutoConfiguration

java.lang.Object
com.azure.spring.cloud.autoconfigure.AzureServiceConfigurationBase
com.azure.spring.cloud.autoconfigure.appconfiguration.AzureAppConfigurationAutoConfiguration

@ConditionalOnClass(com.azure.data.appconfiguration.ConfigurationClientBuilder.class) @ConditionalOnProperty(value="spring.cloud.azure.appconfiguration.enabled", havingValue="true", matchIfMissing=true) @ConditionalOnAnyProperty(prefix="spring.cloud.azure.appconfiguration", name={"endpoint","connection-string"}) public class AzureAppConfigurationAutoConfiguration extends AzureServiceConfigurationBase
Auto-configuration for Azure App Configuration support.
Since:
4.0.0
  • Method Details

    • azureConfigurationClient

      @Bean @ConditionalOnMissingBean public com.azure.data.appconfiguration.ConfigurationClient azureConfigurationClient(com.azure.data.appconfiguration.ConfigurationClientBuilder builder)
      Autoconfigure the ConfigurationClient instance.
      Parameters:
      builder - The ConfigurationClientBuilder to build the instance.
      Returns:
      the configuration client instance.
    • azureConfigurationAsyncClient

      @Bean @ConditionalOnMissingBean public com.azure.data.appconfiguration.ConfigurationAsyncClient azureConfigurationAsyncClient(com.azure.data.appconfiguration.ConfigurationClientBuilder builder)
      Autoconfigure the ConfigurationAsyncClient instance.
      Parameters:
      builder - The ConfigurationClientBuilder to build the instance.
      Returns:
      the configuration async client instance.