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 ObjectAuto-configurationfor Azure Resource Manager support.- Since:
- 4.0.0
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.azure.core.management.profile.AzureProfileazureProfile()Autoconfigure theAzureProfileinstance.com.azure.resourcemanager.AzureResourceManagerazureResourceManager(com.azure.core.credential.TokenCredential tokenCredential, com.azure.core.management.profile.AzureProfile azureProfile)Autoconfigure theAzureResourceManagerinstance.
-
-
-
Method Detail
-
azureResourceManager
@Bean @ConditionalOnMissingBean public com.azure.resourcemanager.AzureResourceManager azureResourceManager(com.azure.core.credential.TokenCredential tokenCredential, com.azure.core.management.profile.AzureProfile azureProfile)Autoconfigure theAzureResourceManagerinstance.- Parameters:
tokenCredential- theTokenCredentialused to authenticate with theAzureResourceManager.azureProfile- theAzureProfileused by theAzureResourceManager.- Returns:
- the Azure resource manager.
-
azureProfile
@Bean @ConditionalOnMissingBean public com.azure.core.management.profile.AzureProfile azureProfile()
Autoconfigure theAzureProfileinstance.- Returns:
- the azure profile.
-
-