Record: CosmosDBInputConfiguration

CosmosDB input annotation configuration.

Closed record

Fields

  • connectionStringSetting string
  • The name of the app setting which contains the connection string for CosmosDB account

  • databaseName string
  • The database name

  • collectionName string
  • The collection name

  • id string?
  • The id of the document to retrieve

  • sqlQuery string?
  • An Azure Cosmos DB SQL query used to retrieve multiple documents

  • partitionKey string | int | float?
  • The partition key value for lookups

  • preferredLocations string?
  • A comma-seperated list of regions as preferred locations for geo-replicated database accounts