Class AzureCosmosDbDataFeedSource
java.lang.Object
com.azure.ai.metricsadvisor.administration.models.DataFeedSource
com.azure.ai.metricsadvisor.administration.models.AzureCosmosDbDataFeedSource
The AzureCosmosDbDataFeedSource model.
- 
Constructor SummaryConstructorsConstructorDescriptionAzureCosmosDbDataFeedSource(String connectionString, String sqlQuery, String database, String collectionId) Create a AzureCosmosDataFeedSource.
- 
Method SummaryModifier and TypeMethodDescriptionGet the collectionId property: Collection id.Get the database property: Database name.Get the sqlQuery property: Query script.
- 
Constructor Details- 
AzureCosmosDbDataFeedSourcepublic AzureCosmosDbDataFeedSource(String connectionString, String sqlQuery, String database, String collectionId) Create a AzureCosmosDataFeedSource.- Parameters:
- connectionString- the Azure CosmosDB connection string.
- sqlQuery- the query script.
- database- the database name.
- collectionId- the collection Id value.
 
 
- 
- 
Method Details- 
getSqlQueryGet the sqlQuery property: Query script.- Returns:
- the sqlQuery value.
 
- 
getDatabaseGet the database property: Database name.- Returns:
- the database value.
 
- 
getCollectionIdGet the collectionId property: Collection id.- Returns:
- the collectionId value.
 
 
-