Skip to content

Latest commit

 

History

History
18 lines (18 loc) · 1.66 KB

File metadata and controls

18 lines (18 loc) · 1.66 KB
author ggailey777
ms.service azure-functions
ms.topic include
ms.date 02/08/2022
ms.author glenga
ms.custom sfi-ropc-nochange
function.json 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.
createIfNotExists A boolean value to indicate whether the collection is created when it doesn't exist. The default is false because new collections are created with reserved throughput, which has cost implications. For more information, see the pricing page.
partitionKey When createIfNotExists is true, it defines the partition key path for the created collection. May include binding parameters.
collectionThroughput When createIfNotExists is true, it defines the throughput of the created collection.
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.
useMultipleWriteLocations (Optional) When set to true along with preferredLocations, supports multi-region writes in the Azure Cosmos DB service.