Azure CosmosDBGremlinAPI binding spec

Detailed documentation on the Azure CosmosDBGremlinAPI binding component

Component format

To setup Azure CosmosDBGremlinAPI binding create a component of type bindings.azure.cosmosdb.gremlinapi. See this guide on how to create and apply a binding configuration.

  1. apiVersion: dapr.io/v1alpha1
  2. kind: Component
  3. metadata:
  4. name: <NAME>
  5. namespace: <NAMESPACE>
  6. spec:
  7. type: bindings.azure.cosmosdb.gremlinapi
  8. version: v1
  9. metadata:
  10. - name: url
  11. value: wss://******.gremlin.cosmos.azure.com:443/
  12. - name: masterKey
  13. value: *****
  14. - name: username
  15. value: *****

Warning

The above example uses secrets as plain strings. It is recommended to use a secret store for the secrets as described here.

Spec metadata fields

FieldRequiredBinding supportDetailsExample
urlYOutputThe CosmosDBGremlinAPI url“wss://**.gremlin.cosmos.azure.com:443/“
masterKeyYOutputThe CosmosDBGremlinAPI account master key“masterKey”
databaseYOutputThe username of the CosmosDBGremlinAPI database“username”

For more information see Quickstart: Azure Cosmos Graph DB using Gremlin.

Binding support

This component supports output binding with the following operations:

  • query

Last modified November 12, 2021 : Merge pull request #1949 from willtsai/az-staticwebapp-versioning (c40e456)