Class AzureEnvironmentAutoConfiguration


  • @Configuration
    public class AzureEnvironmentAutoConfiguration
    extends Object
    Auto-config to provide default EnvironmentProvider for all Azure services
    Author:
    Warren Zhu
    • Constructor Detail

      • AzureEnvironmentAutoConfiguration

        public AzureEnvironmentAutoConfiguration()
    • Method Detail

      • environmentProvider

        @Bean
        @ConditionalOnMissingBean
        public EnvironmentProvider environmentProvider​(@Autowired(required=false)
                                                       AzureProperties azureProperties)
        Create an EnvironmentProvider bean.
        Parameters:
        azureProperties - The azure properties.
        Returns:
        An EnvironmentProvider object.