Class AzureStorageFileShareAutoConfiguration
- java.lang.Object
-
- com.azure.spring.cloud.autoconfigure.AzureServiceConfigurationBase
-
- com.azure.spring.cloud.autoconfigure.storage.fileshare.AzureStorageFileShareAutoConfiguration
-
@ConditionalOnClass(com.azure.storage.file.share.ShareServiceClientBuilder.class) @ConditionalOnProperty(value="spring.cloud.azure.storage.fileshare.enabled", havingValue="true", matchIfMissing=true) @ConditionalOnAnyProperty(prefix="spring.cloud.azure.storage.fileshare", name={"account-name","endpoint","connection-string"}) public class AzureStorageFileShareAutoConfiguration extends AzureServiceConfigurationBaseAuto-configurationfor Azure Storage File Share support.- Since:
- 4.0.0
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.azure.storage.file.share.ShareServiceAsyncClientshareServiceAsyncClient(com.azure.storage.file.share.ShareServiceClientBuilder builder)Autoconfigure theShareServiceAsyncClientinstance.com.azure.storage.file.share.ShareServiceClientshareServiceClient(com.azure.storage.file.share.ShareServiceClientBuilder builder)Autoconfigure theShareServiceClientinstance.-
Methods inherited from class com.azure.spring.cloud.autoconfigure.AzureServiceConfigurationBase
getAzureGlobalProperties, loadProperties
-
-
-
-
Method Detail
-
shareServiceClient
@Bean @ConditionalOnMissingBean public com.azure.storage.file.share.ShareServiceClient shareServiceClient(com.azure.storage.file.share.ShareServiceClientBuilder builder)
Autoconfigure theShareServiceClientinstance.- Parameters:
builder- theShareServiceClientBuilderto build the instance.- Returns:
- the share service client.
-
shareServiceAsyncClient
@Bean @ConditionalOnMissingBean public com.azure.storage.file.share.ShareServiceAsyncClient shareServiceAsyncClient(com.azure.storage.file.share.ShareServiceClientBuilder builder)
Autoconfigure theShareServiceAsyncClientinstance.- Parameters:
builder- theShareServiceClientBuilderto build the instance.- Returns:
- the share service async client.
-
-