Class AzureEnvironmentAutoConfiguration
- java.lang.Object
-
- com.azure.spring.cloud.autoconfigure.context.AzureEnvironmentAutoConfiguration
-
@Configuration public class AzureEnvironmentAutoConfiguration extends Object
Auto-config to provide defaultEnvironmentProvider
for all Azure services- Author:
- Warren Zhu
-
-
Constructor Summary
Constructors Constructor Description AzureEnvironmentAutoConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EnvironmentProvider
environmentProvider(AzureProperties azureProperties)
Create anEnvironmentProvider
bean.
-
-
-
Method Detail
-
environmentProvider
@Bean @ConditionalOnMissingBean public EnvironmentProvider environmentProvider(@Autowired(required=false) AzureProperties azureProperties)
Create anEnvironmentProvider
bean.- Parameters:
azureProperties
- The azure properties.- Returns:
- An EnvironmentProvider object.
-
-