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 Summary
Modifier and TypeMethodDescriptioncom.azure.data.appconfiguration.ConfigurationAsyncClient
azureConfigurationAsyncClient
(com.azure.data.appconfiguration.ConfigurationClientBuilder builder) Autoconfigure theConfigurationAsyncClient
instance.com.azure.data.appconfiguration.ConfigurationClient
azureConfigurationClient
(com.azure.data.appconfiguration.ConfigurationClientBuilder builder) Autoconfigure theConfigurationClient
instance.Methods inherited from class com.azure.spring.cloud.autoconfigure.AzureServiceConfigurationBase
getAzureGlobalProperties, loadProperties
-
Method Details
-
azureConfigurationClient
@Bean @ConditionalOnMissingBean public com.azure.data.appconfiguration.ConfigurationClient azureConfigurationClient(com.azure.data.appconfiguration.ConfigurationClientBuilder builder) Autoconfigure theConfigurationClient
instance.- Parameters:
builder
- TheConfigurationClientBuilder
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 theConfigurationAsyncClient
instance.- Parameters:
builder
- TheConfigurationClientBuilder
to build the instance.- Returns:
- the configuration async client instance.
-