Skip to content

Commit f02703d

Browse files
Fix links
1 parent bc57d08 commit f02703d

5 files changed

+9
-11
lines changed

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

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ ms.date: 02/24/2020
77
ms.author: cshoe
88
---
99

10-
## Input
11-
1210
The Azure Cosmos DB input binding uses the SQL API to retrieve one or more Azure Cosmos DB documents and passes them to the input parameter of the function. The document ID or query parameters can be determined based on the trigger that invokes the function.
1311

1412
For information on setup and configuration details, see the [overview](./functions-bindings-cosmosdb-v2.md).
@@ -1393,7 +1391,7 @@ public class DocsFromRouteSqlQuery {
13931391

13941392
---
13951393

1396-
## Input - attributes and annotations
1394+
## Attributes and annotations
13971395

13981396
# [C#](#tab/csharp)
13991397

@@ -1419,7 +1417,7 @@ From the [Java functions runtime library](https://docs.microsoft.com/java/api/ov
14191417

14201418
---
14211419

1422-
## Input - configuration
1420+
## Configuration
14231421

14241422
The following table explains the binding configuration properties that you set in the *function.json* file and the `CosmosDB` attribute.
14251423

@@ -1437,7 +1435,7 @@ The following table explains the binding configuration properties that you set i
14371435

14381436
[!INCLUDE [app settings to local.settings.json](../../includes/functions-app-settings-local.md)]
14391437

1440-
## Input - usage
1438+
## Usage
14411439

14421440
# [C#](#tab/csharp)
14431441

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -516,7 +516,7 @@ In the [Java functions runtime library](/java/api/overview/azure/functions/runti
516516

517517
---
518518

519-
## Output - attributes and annotations
519+
## Attributes and annotations
520520

521521
# [C#](#tab/csharp)
522522

@@ -552,7 +552,7 @@ The `CosmosDBOutput` annotation is available to write data to Cosmos DB. You can
552552

553553
---
554554

555-
## Output - configuration
555+
## Configuration
556556

557557
The following table explains the binding configuration properties that you set in the *function.json* file and the `CosmosDB` attribute.
558558

@@ -570,7 +570,7 @@ The following table explains the binding configuration properties that you set i
570570

571571
[!INCLUDE [app settings to local.settings.json](../../includes/functions-app-settings-local.md)]
572572

573-
## Output - usage
573+
## Usage
574574

575575
By default, when you write to the output parameter in your function, a document is created in your database. This document has an automatically generated GUID as the document ID. You can specify the document ID of the output document by specifying the `id` property in the JSON object passed to the output parameter.
576576

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ The attribute's constructor takes the database name and collection name. For inf
187187
}
188188
```
189189

190-
For a complete example, see [Trigger](#trigger).
190+
For a complete example, see [Trigger](#example).
191191

192192
# [C# Script](#tab/csharp-script)
193193

articles/cosmos-db/how-to-configure-cosmos-db-trigger-connection-policy.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ There are two connection modes - Direct mode and Gateway mode. To learn more abo
1818

1919
## Changing the connection mode and protocol
2020

21-
There are two key configuration settings available to configure the client connection policy – the **connection mode** and the **connection protocol**. You can change the default connection mode and protocol used by the Azure Functions trigger for Cosmos DB and all the [Azure Cosmos DB bindings](../azure-functions/functions-bindings-cosmosdb-v2-output.md)). To change the default settings, you need to locate the `host.json` file in your Azure Functions project or Azure Functions App and add the following [extra setting](../azure-functions/functions-bindings-cosmosdb-v2.md#hostjson-settings):
21+
There are two key configuration settings available to configure the client connection policy – the **connection mode** and the **connection protocol**. You can change the default connection mode and protocol used by the Azure Functions trigger for Cosmos DB and all the [Azure Cosmos DB bindings](../azure-functions/functions-bindings-cosmosdb-v2-output.md)). To change the default settings, you need to locate the `host.json` file in your Azure Functions project or Azure Functions App and add the following [extra setting](../azure-functions/functions-bindings-cosmosdb-v2-output.md#hostjson-settings):
2222

2323
```js
2424
{

articles/cosmos-db/how-to-create-multiple-cosmos-db-triggers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ The goal of this article is to guide you to accomplish the second option.
3333

3434
## Configuring a shared leases container
3535

36-
To configure the shared leases container, the only extra configuration you need to make on your triggers is to add the `LeaseCollectionPrefix` [attribute](../azure-functions/functions-bindings-cosmosdb-v2-trigger.md#attributes-and-annotations) if you are using C# or `leaseCollectionPrefix` [attribute](../azure-functions/functions-bindings-cosmosdb-v2.md#trigger) if you are using JavaScript. The value of the attribute should be a logical descriptor of what that particular trigger.
36+
To configure the shared leases container, the only extra configuration you need to make on your triggers is to add the `LeaseCollectionPrefix` [attribute](../azure-functions/functions-bindings-cosmosdb-v2-trigger.md#attributes-and-annotations) if you are using C# or `leaseCollectionPrefix` [attribute](../azure-functions/functions-bindings-cosmosdb-v2-trigger.md) if you are using JavaScript. The value of the attribute should be a logical descriptor of what that particular trigger.
3737

3838
For example, if you have three Triggers: one that sends emails, one that does an aggregation to create a materialized view, and one that sends the changes to another storage, for later analysis, you could assign the `LeaseCollectionPrefix` of "emails" to the first one, "materialized" to the second one, and "analytics" to the third one.
3939

0 commit comments

Comments
 (0)