Skip to content

Commit 7943bf4

Browse files
authored
Merge pull request #107507 from AlexPshul/patch-1
Fixed binding type for input binding
2 parents 2abd200 + 7b1bd1a commit 7943bf4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

includes/functions-cosmosdb-input-settings-v4.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ms.author: glenga
77
---
88
|function.json property | Description|
99
|---------|----------------------|
10-
|**type** | Must be set to `cosmosDBTrigger`. |
10+
|**type** | Must be set to `cosmosDB`. |
1111
|**direction** | Must be set to `in`. |
1212
|**name** | The variable name used in function code that represents the list of documents with changes. |
1313
|**connection** | The name of an app setting or setting container that specifies how to connect to the Azure Cosmos DB account being monitored. For more information, see [Connections](#connections).|
@@ -16,4 +16,4 @@ ms.author: glenga
1616
|**partitionKey**| Specifies the partition key value for the lookup. May include binding parameters. It is required for lookups in [partitioned](../articles/cosmos-db/partitioning-overview.md#logical-partitions) containers.|
1717
|**id** | The ID of the document to retrieve. This property supports [binding expressions](../articles/azure-functions/functions-bindings-expressions-patterns.md). Don't set both the `id` and `sqlQuery` properties. If you don't set either one, the entire container is retrieved. |
1818
|**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 container is retrieved.|
19-
|**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`. |
19+
|**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`. |

0 commit comments

Comments
 (0)