CosmosDBv3OutputOptions interface
Properties
collection |
The name of the collection being monitored |
collection |
When createIfNotExists is true, it defines the throughput of the created collection |
connection |
An app setting (or environment variable) with the Cosmos DB connection string |
create |
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. |
database |
The name of the Azure Cosmos DB database with the collection being monitored |
partition |
When |
preferred |
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 |
use |
When set to true along with preferredLocations, supports multi-region writes in the Azure Cosmos DB service. |
Property Details
collectionName
The name of the collection being monitored
collectionName: string
Property Value
string
collectionThroughput
When createIfNotExists is true, it defines the throughput of the created collection
collectionThroughput?: number
Property Value
number
connectionStringSetting
An app setting (or environment variable) with the Cosmos DB connection string
connectionStringSetting: string
Property Value
string
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.
createIfNotExists?: boolean
Property Value
boolean
databaseName
The name of the Azure Cosmos DB database with the collection being monitored
databaseName: string
Property Value
string
partitionKey
When createIfNotExists
is true, it defines the partition key path for the created collection. May include binding parameters.
partitionKey?: string
Property Value
string
preferredLocations
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
preferredLocations?: string
Property Value
string
useMultipleWriteLocations
When set to true along with preferredLocations, supports multi-region writes in the Azure Cosmos DB service.
useMultipleWriteLocations?: boolean
Property Value
boolean