public final class AzureBlobDataFeedSource extends DataFeedSource
Modifier and Type | Method and Description |
---|---|
static AzureBlobDataFeedSource |
fromBasicCredential(String connectionString,
String container,
String blobTemplate)
Create a AzureBlobDataFeedSource with credential included in the
connectionString as plain text. |
static AzureBlobDataFeedSource |
fromManagedIdentityCredential(String connectionString,
String container,
String blobTemplate)
Create a SQLServerDataFeedSource with the
connectionString containing the resource
id of the SQL server on which metrics advisor has MSI access. |
DatasourceAuthenticationType |
getAuthenticationType()
Gets the authentication type to access the data source.
|
String |
getBlobTemplate()
Get the blob template name.
|
String |
getContainer()
Get the container name.
|
public static AzureBlobDataFeedSource fromBasicCredential(String connectionString, String container, String blobTemplate)
connectionString
as plain text.connectionString
- the Azure Blob connection stringcontainer
- the container nameblobTemplate
- the blob template namepublic static AzureBlobDataFeedSource fromManagedIdentityCredential(String connectionString, String container, String blobTemplate)
connectionString
containing the resource
id of the SQL server on which metrics advisor has MSI access.connectionString
- the Azure Blob connection stringcontainer
- the container nameblobTemplate
- the blob template namepublic String getContainer()
public String getBlobTemplate()
public DatasourceAuthenticationType getAuthenticationType()
Copyright © 2021 Microsoft Corporation. All rights reserved.