@Configuration(proxyBeanMethods=false)
@ConditionalOnClass(value=com.azure.resourcemanager.AzureResourceManager.class)
@ConditionalOnExpression(value="${spring.cloud.azure.resource-manager.enabled:true}")
@ConditionalOnProperty(value="spring.cloud.azure.profile.subscription-id")
public class AzureResourceManagerAutoConfiguration
extends Object
| Constructor and Description |
|---|
AzureResourceManagerAutoConfiguration(AzureGlobalProperties globalProperties) |
| Modifier and Type | Method and Description |
|---|---|
com.azure.core.management.profile.AzureProfile |
azureProfile() |
com.azure.resourcemanager.AzureResourceManager |
azureResourceManager(com.azure.core.credential.TokenCredential tokenCredential,
com.azure.core.management.profile.AzureProfile azureProfile) |
public AzureResourceManagerAutoConfiguration(AzureGlobalProperties globalProperties)
@Bean
@ConditionalOnMissingBean
public com.azure.resourcemanager.AzureResourceManager azureResourceManager(com.azure.core.credential.TokenCredential tokenCredential,
com.azure.core.management.profile.AzureProfile azureProfile)
@Bean @ConditionalOnMissingBean public com.azure.core.management.profile.AzureProfile azureProfile()
Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.