Class AzureBlobDataFeedSource

java.lang.Object
com.azure.ai.metricsadvisor.administration.models.DataFeedSource
com.azure.ai.metricsadvisor.administration.models.AzureBlobDataFeedSource

public final class AzureBlobDataFeedSource extends DataFeedSource
The AzureBlobDataFeedSource model.
  • Method Details

    • fromBasicCredential

      public static AzureBlobDataFeedSource fromBasicCredential(String connectionString, String container, String blobTemplate)
      Create a AzureBlobDataFeedSource with credential included in the connectionString as plain text.
      Parameters:
      connectionString - the Azure Blob connection string
      container - the container name
      blobTemplate - the blob template name
      Returns:
      The AzureBlobDataFeedSource.
    • fromManagedIdentityCredential

      public 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.
      Parameters:
      connectionString - the Azure Blob connection string
      container - the container name
      blobTemplate - the blob template name
      Returns:
      The AzureBlobDataFeedSource.
    • getContainer

      public String getContainer()
      Get the container name.
      Returns:
      the container value.
    • getBlobTemplate

      public String getBlobTemplate()
      Get the blob template name.
      Returns:
      the blobTemplate value.
    • getAuthenticationType

      public DataSourceAuthenticationType getAuthenticationType()
      Gets the authentication type to access the data source.
      Returns:
      The authentication type.