The documentation you are viewing is for Dapr v0.11 which is an older version of Dapr. For up-to-date documentation, see the latest version.

Azure CosmosDB binding spec

Detailed documentation on the Azure CosmosDB binding component

Setup Dapr component

kind: Component
  name: <NAME>
  namespace: <NAMESPACE>
  version: v1
  - name: url
    value: https://******
  - name: masterKey
    value: *****
  - name: database
    value: db
  - name: collection
    value: collection
  - name: partitionKey
    value: message
  • url is the CosmosDB url.
  • masterKey is the CosmosDB account master key.
  • database is the name of the CosmosDB database.
  • collection is name of the collection inside the database.
  • partitionKey is the name of the partitionKey to extract from the payload.

Output Binding Supported Operations

  • create
Last modified July 7, 2022: update nav bar v0.11 (#2633) (b309d3d)