Provides a controller service that configures a connection to Cosmos DB (Core SQL API) and provides access to that connection to other Cosmos DB-related components.
azure, cosmos, document, service
In the list below, the names of required properties appear in bold. Any other properties (not in bold) are considered optional. The table also indicates any default values.
Display Name | API Name | Default Value | Allowable Values | Description |
---|---|---|---|---|
Cosmos DB URI | azure-cosmos-db-uri | Cosmos DB URI, typically in the form of https://{databaseaccount}.documents.azure.com:443/ Note this host URL is for Cosmos DB with Core SQL API from Azure Portal (Overview->URI) Sensitive Property: true | ||
Cosmos DB Access Key | azure-cosmos-db-key | Cosmos DB Access Key from Azure Portal (Settings->Keys). Choose a read-write key to enable database or container creation at run time Sensitive Property: true | ||
Cosmos DB Consistency Level | azure-cosmos-db-consistency-level | SESSION |
| Choose from five consistency levels on the consistency spectrum. Refer to Cosmos DB documentation for their differences |