Class AzureServiceConfigurationBase

java.lang.Object
com.azure.spring.cloud.autoconfigure.AzureServiceConfigurationBase
Direct Known Subclasses:
AzureAppConfigurationAutoConfiguration, AzureCosmosAutoConfiguration, AzureEventHubsAutoConfiguration, AzureKeyVaultConfiguration, AzureServiceBusAutoConfiguration, AzureStorageConfiguration, AzureTokenCredentialAutoConfiguration

@Configuration(proxyBeanMethods=false) @EnableConfigurationProperties public abstract class AzureServiceConfigurationBase extends Object
A configuration base class for all Azure SDK configuration.
  • Constructor Details

  • Method Details

    • loadProperties

      protected <T extends com.azure.spring.cloud.core.properties.AzureProperties> T loadProperties(AzureGlobalProperties source, T target)
      Load the default value to an Azure Service properties from the global Azure properties.
      Type Parameters:
      T - The type of the properties of an Azure Service.
      Parameters:
      source - The global Azure properties.
      target - The properties of an Azure Service, such as Event Hubs properties. Some common components of the service's properties have default value as set to the global properties. For example, the proxy of the Event Hubs properties takes the proxy set to the global Azure properties as default.
      Returns:
      The Azure Service's properties.
    • getAzureGlobalProperties

      protected AzureGlobalProperties getAzureGlobalProperties()
      Returns:
      the global properties.