Class AzureBlobDataFeedSource
java.lang.Object
com.azure.ai.metricsadvisor.administration.models.DataFeedSource
com.azure.ai.metricsadvisor.administration.models.AzureBlobDataFeedSource
The AzureBlobDataFeedSource model.
-
Method Summary
Modifier and TypeMethodDescriptionstatic AzureBlobDataFeedSource
fromBasicCredential
(String connectionString, String container, String blobTemplate) Create a AzureBlobDataFeedSource with credential included in theconnectionString
as plain text.static AzureBlobDataFeedSource
fromManagedIdentityCredential
(String connectionString, String container, String blobTemplate) Create a SQLServerDataFeedSource with theconnectionString
containing the resource id of the SQL server on which metrics advisor has MSI access.Gets the authentication type to access the data source.Get the blob template name.Get the container name.
-
Method Details
-
fromBasicCredential
public static AzureBlobDataFeedSource fromBasicCredential(String connectionString, String container, String blobTemplate) Create a AzureBlobDataFeedSource with credential included in theconnectionString
as plain text.- Parameters:
connectionString
- the Azure Blob connection stringcontainer
- the container nameblobTemplate
- the blob template name- Returns:
- The AzureBlobDataFeedSource.
-
fromManagedIdentityCredential
public static AzureBlobDataFeedSource fromManagedIdentityCredential(String connectionString, String container, String blobTemplate) Create a SQLServerDataFeedSource with theconnectionString
containing the resource id of the SQL server on which metrics advisor has MSI access.- Parameters:
connectionString
- the Azure Blob connection stringcontainer
- the container nameblobTemplate
- the blob template name- Returns:
- The AzureBlobDataFeedSource.
-
getContainer
Get the container name.- Returns:
- the container value.
-
getBlobTemplate
Get the blob template name.- Returns:
- the blobTemplate value.
-
getAuthenticationType
Gets the authentication type to access the data source.- Returns:
- The authentication type.
-