| author | ggailey777 |
|---|---|
| ms.service | azure-functions |
| ms.topic | include |
| ms.date | 02/08/2022 |
| ms.author | glenga |
| ms.custom | sfi-ropc-nochange |
| Attribute property | Description |
|---|---|
| ConnectionStringSetting | The name of an app setting or setting collection that specifies how to connect to the Azure Cosmos DB account being monitored. For more information, see Connections. |
| DatabaseName | The name of the Azure Cosmos DB database with the collection being monitored. |
| CollectionName | The name of the collection being monitored. |
| PartitionKey | Specifies the partition key value for the lookup. May include binding parameters. It is required for lookups in partitioned collections. |
| Id | The ID of the document to retrieve. This property supports binding expressions. Don't set both the Id and SqlQuery properties. If you don't set either one, the entire collection is retrieved. |
| SqlQuery | An Azure Cosmos DB SQL query used for retrieving multiple documents. The property supports runtime bindings, as in this example: SELECT * FROM c where c.departmentId = {departmentId}. Don't set both the Id and SqlQuery properties. If you don't set either one, the entire collection is retrieved. |
| PreferredLocations | (Optional) Defines preferred locations (regions) for geo-replicated database accounts in the Azure Cosmos DB service. Values should be comma-separated. For example, "East US,South Central US,North Europe". |