@Configuration @EnableConfigurationProperties(value=com.microsoft.azure.spring.cloud.context.core.config.AzureProperties.class) @ConditionalOnClass(value=com.microsoft.azure.management.Azure.class) @ConditionalOnProperty(prefix="spring.cloud.azure", value="resource-group") public class AzureContextAutoConfiguration extends Object
CredentialsProvider for all Azure services| Constructor and Description |
|---|
AzureContextAutoConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
com.microsoft.azure.management.Azure |
azure(com.microsoft.azure.credentials.AzureTokenCredentials credentials) |
com.microsoft.azure.credentials.AzureTokenCredentials |
credentials(AzureProperties azureProperties) |
ResourceManagerProvider |
resourceManagerProvider(com.microsoft.azure.management.Azure azure,
AzureProperties azureProperties) |
@Bean @ConditionalOnMissingBean public ResourceManagerProvider resourceManagerProvider(com.microsoft.azure.management.Azure azure, AzureProperties azureProperties)
@Bean
@ConditionalOnMissingBean
public com.microsoft.azure.management.Azure azure(com.microsoft.azure.credentials.AzureTokenCredentials credentials)
throws IOException
IOException@Bean @ConditionalOnMissingBean public com.microsoft.azure.credentials.AzureTokenCredentials credentials(AzureProperties azureProperties)
Copyright © 2019 Microsoft. All rights reserved.