Class AzureStorageBlobAutoConfiguration
- java.lang.Object
-
- com.azure.spring.cloud.autoconfigure.AzureServiceConfigurationBase
-
- com.azure.spring.cloud.autoconfigure.storage.blob.AzureStorageBlobAutoConfiguration
-
@ConditionalOnClass(com.azure.storage.blob.BlobServiceClientBuilder.class) @ConditionalOnProperty(value="spring.cloud.azure.storage.blob.enabled", havingValue="true", matchIfMissing=true) @ConditionalOnAnyProperty(prefix="spring.cloud.azure.storage.blob", name={"account-name","endpoint","connection-string"}) public class AzureStorageBlobAutoConfiguration extends AzureServiceConfigurationBaseAuto-configurationfor Azure Storage Blob support.- Since:
- 4.0.0
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.azure.storage.blob.BlobServiceAsyncClientblobServiceAsyncClient(com.azure.storage.blob.BlobServiceClientBuilder builder)Autoconfigure theBlobServiceAsyncClientinstance.com.azure.storage.blob.BlobServiceClientblobServiceClient(com.azure.storage.blob.BlobServiceClientBuilder builder)Autoconfigure theBlobServiceClientinstance.-
Methods inherited from class com.azure.spring.cloud.autoconfigure.AzureServiceConfigurationBase
getAzureGlobalProperties, loadProperties
-
-
-
-
Method Detail
-
blobServiceAsyncClient
@Bean @ConditionalOnMissingBean public com.azure.storage.blob.BlobServiceAsyncClient blobServiceAsyncClient(@Qualifier("springCloudAzureStorageBlobClientBuilder") com.azure.storage.blob.BlobServiceClientBuilder builder)Autoconfigure theBlobServiceAsyncClientinstance.- Parameters:
builder- theBlobServiceClientBuilderto build the instance.- Returns:
- the blob service async client.
-
blobServiceClient
@Bean @ConditionalOnMissingBean public com.azure.storage.blob.BlobServiceClient blobServiceClient(@Qualifier("springCloudAzureStorageBlobClientBuilder") com.azure.storage.blob.BlobServiceClientBuilder builder)Autoconfigure theBlobServiceClientinstance.- Parameters:
builder- theBlobServiceClientBuilderto build the instance.- Returns:
- the blob service client.
-
-