Class AzureResourceManagerAutoConfiguration

java.lang.Object
com.azure.spring.cloud.autoconfigure.resourcemanager.AzureResourceManagerAutoConfiguration

@Configuration(proxyBeanMethods=false) @ConditionalOnClass(com.azure.resourcemanager.AzureResourceManager.class) @ConditionalOnExpression("${spring.cloud.azure.resource-manager.enabled:true}") @ConditionalOnProperty("spring.cloud.azure.profile.subscription-id") public class AzureResourceManagerAutoConfiguration extends Object
Auto-configuration for Azure Resource Manager support.
Since:
4.0.0
  • Method Summary

    Modifier and Type
    Method
    Description
    com.azure.core.management.profile.AzureProfile
    Autoconfigure the AzureProfile instance.
    com.azure.resourcemanager.AzureResourceManager
    azureResourceManager(com.azure.core.credential.TokenCredential tokenCredential, com.azure.core.management.profile.AzureProfile azureProfile)
    Autoconfigure the AzureResourceManager instance.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • azureResourceManager

      @Bean @ConditionalOnMissingBean public com.azure.resourcemanager.AzureResourceManager azureResourceManager(com.azure.core.credential.TokenCredential tokenCredential, com.azure.core.management.profile.AzureProfile azureProfile)
      Autoconfigure the AzureResourceManager instance.
      Parameters:
      tokenCredential - the TokenCredential used to authenticate with the AzureResourceManager.
      azureProfile - the AzureProfile used by the AzureResourceManager.
      Returns:
      the Azure resource manager.
    • azureProfile

      @Bean @ConditionalOnMissingBean public com.azure.core.management.profile.AzureProfile azureProfile()
      Autoconfigure the AzureProfile instance.
      Returns:
      the azure profile.