AzureCosmosDbDataFeedSource(String, String, String, String) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the AzureCosmosDbDataFeedSource class.
public AzureCosmosDbDataFeedSource (string connectionString, string sqlQuery, string database, string collectionId);
new Azure.AI.MetricsAdvisor.Administration.AzureCosmosDbDataFeedSource : string * string * string * string -> Azure.AI.MetricsAdvisor.Administration.AzureCosmosDbDataFeedSource
Public Sub New (connectionString As String, sqlQuery As String, database As String, collectionId As String)
Parameters
- connectionString
- String
The connection string for authenticating to the Azure Cosmos DB service.
- sqlQuery
- String
The SQL query to retrieve the data to be ingested.
- database
- String
The name of the database.
- collectionId
- String
The collection ID.
Exceptions
connectionString
, sqlQuery
, database
, or collectionId
is null.
connectionString
, sqlQuery
, database
, or collectionId
is empty.