Skip to content

Commit 234e145

Browse files
committed
Clarify note about SQL APIs only.
1 parent 0ff6f36 commit 234e145

File tree

4 files changed

+25
-0
lines changed

4 files changed

+25
-0
lines changed

articles/azure-functions/functions-bindings-cosmosdb-v2.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@ This article explains how to work with [Azure Cosmos DB](..\cosmos-db\serverless
3333
3434
[!INCLUDE [intro](../../includes/functions-bindings-intro.md)]
3535

36+
## Supported APIs
37+
38+
[!INCLUDE [SQL API support only](../../includes/functions-cosmosdb-sqlapi-note.md)]
39+
3640
## Packages - Functions 2.x
3741

3842
The Azure Cosmos DB bindings for Functions version 2.x are provided in the [Microsoft.Azure.WebJobs.Extensions.CosmosDB](http://www.nuget.org/packages/Microsoft.Azure.WebJobs.Extensions.CosmosDB) NuGet package, version 3.x. Source code for the bindings is in the [azure-webjobs-sdk-extensions](https://github.com/Azure/azure-webjobs-sdk-extensions/blob/master/src/WebJobs.Extensions.CosmosDB/) GitHub repository.

articles/azure-functions/functions-bindings-cosmosdb.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@ This article explains how to work with [Azure Cosmos DB](..\cosmos-db\serverless
3333
3434
[!INCLUDE [intro](../../includes/functions-bindings-intro.md)]
3535

36+
## Supported APIs
37+
38+
[!INCLUDE [SQL API support only](../../includes/functions-cosmosdb-sqlapi-note.md)]
39+
3640
## Packages - Functions 1.x
3741

3842
The Azure Cosmos DB bindings for Functions version 1.x are provided in the [Microsoft.Azure.WebJobs.Extensions.DocumentDB](http://www.nuget.org/packages/Microsoft.Azure.WebJobs.Extensions.DocumentDB) NuGet package, version 1.x. Source code for the bindings is in the [azure-webjobs-sdk-extensions](https://github.com/Azure/azure-webjobs-sdk-extensions/tree/v2.x/src/WebJobs.Extensions.DocumentDB) GitHub repository.

articles/azure-functions/functions-create-cosmos-db-triggered-function.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ To complete this tutorial:
3030

3131
+ If you don't have an Azure subscription, create a [free account](https://azure.microsoft.com/free/?WT.mc_id=A261C142F) before you begin.
3232

33+
> [!NOTE]
34+
> [!INCLUDE [SQL API support only](../../includes/functions-cosmosdb-sqlapi-note.md)]
35+
3336
## Create an Azure Function app
3437

3538
[!INCLUDE [Create function app Azure portal](../../includes/functions-create-function-app-portal.md)]
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
title: include file
3+
description: include file
4+
services: functions
5+
author: ggailey777
6+
manager: jeconnoc
7+
ms.service: functions
8+
ms.topic: include
9+
ms.date: 08/22/2018
10+
ms.author: glenga
11+
ms.custom: include file
12+
---
13+
14+
Azure Cosmos DB bindings are only supported for use with SQL API. For all other Azure Cosmos DB APIs, you should access the database from your function by using the static client for your API, including [MongoDB API](../articles/cosmos-db/mongodb-introduction.md), [Cassandra API](../articles/cosmos-db/cassandra-introduction.md), [Gremlin API](../articles/cosmos-db/graph-introduction.md), and [Table API](../articles/cosmos-db/table-introduction.md).

0 commit comments

Comments
 (0)