Class MongoDbDataFeedSource

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

public final class MongoDbDataFeedSource extends DataFeedSource
The MongoDbDataFeedSource model.
  • Constructor Details

    • MongoDbDataFeedSource

      public MongoDbDataFeedSource(String connectionString, String database, String command)
      Create a MongoDbDataFeedSource instance.
      Parameters:
      connectionString - The connection string.
      database - The database name.
      command - The command value.
  • Method Details

    • getDatabase

      public String getDatabase()
      Get the database property: Database name.
      Returns:
      the database value.
    • getCommand

      public String getCommand()
      Get the command property: Query script.
      Returns:
      the command value.