@Configuration @ConditionalOnClass(value=com.microsoft.azure.storage.blob.ServiceURL.class) @EnableConfigurationProperties(value=StorageProperties.class) @ConditionalOnProperty(prefix="azure.storage", value={"account-name","account-key"}) public class StorageAutoConfiguration extends Object
| Modifier and Type | Field and Description |
|---|---|
private static String |
BLOB_HTTPS_URL |
private static String |
BLOB_URL |
private static org.slf4j.Logger |
LOG |
private StorageProperties |
properties |
private TelemetryProxy |
telemetryProxy |
private static String |
USER_AGENT_PREFIX |
| Constructor and Description |
|---|
StorageAutoConfiguration(StorageProperties properties) |
| Modifier and Type | Method and Description |
|---|---|
private com.microsoft.azure.storage.blob.PipelineOptions |
buildOptions(com.microsoft.azure.storage.blob.PipelineOptions fromOptions) |
com.microsoft.azure.storage.blob.ContainerURL |
createContainerURL(com.microsoft.azure.storage.blob.ServiceURL serviceURL) |
com.microsoft.azure.storage.blob.ServiceURL |
createServiceUrl(com.microsoft.azure.storage.blob.PipelineOptions options) |
private URL |
getURL() |
private void |
trackCustomEvent() |
private static final org.slf4j.Logger LOG
private static final String BLOB_URL
private static final String BLOB_HTTPS_URL
private static final String USER_AGENT_PREFIX
private final StorageProperties properties
private final TelemetryProxy telemetryProxy
public StorageAutoConfiguration(StorageProperties properties)
@Bean
public com.microsoft.azure.storage.blob.ServiceURL createServiceUrl(@Autowired(required=false)
com.microsoft.azure.storage.blob.PipelineOptions options)
throws InvalidKeyException,
MalformedURLException
options - PipelineOptions bean, not required.InvalidKeyExceptionMalformedURLExceptionprivate URL getURL() throws MalformedURLException
MalformedURLExceptionprivate com.microsoft.azure.storage.blob.PipelineOptions buildOptions(com.microsoft.azure.storage.blob.PipelineOptions fromOptions)
@Bean
@ConditionalOnProperty(prefix="azure.storage",
value="container-name")
public com.microsoft.azure.storage.blob.ContainerURL createContainerURL(com.microsoft.azure.storage.blob.ServiceURL serviceURL)
private void trackCustomEvent()
Copyright © 2019 Microsoft. All rights reserved.