Class AzureCosmosDbDataFeedSource
java.lang.Object
com.azure.ai.metricsadvisor.administration.models.DataFeedSource
com.azure.ai.metricsadvisor.administration.models.AzureCosmosDbDataFeedSource
The AzureCosmosDbDataFeedSource model.
-
Constructor Summary
ConstructorDescriptionAzureCosmosDbDataFeedSource
(String connectionString, String sqlQuery, String database, String collectionId) Create a AzureCosmosDataFeedSource. -
Method Summary
Modifier and TypeMethodDescriptionGet the collectionId property: Collection id.Get the database property: Database name.Get the sqlQuery property: Query script.
-
Constructor Details
-
AzureCosmosDbDataFeedSource
public 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
-
getSqlQuery
Get the sqlQuery property: Query script.- Returns:
- the sqlQuery value.
-
getDatabase
Get the database property: Database name.- Returns:
- the database value.
-
getCollectionId
Get the collectionId property: Collection id.- Returns:
- the collectionId value.
-