Skip to content

Commit a0b3bc4

Browse files
Merge pull request #266268 from ealsur/users/ealsur/connsetting
Cosmos DB: Updating Function setting name
2 parents c0fdc36 + 3a17267 commit a0b3bc4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

articles/azure-functions/functions-event-hub-cosmos-db.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: 'Tutorial: Use Java functions with Azure Cosmos DB and Event Hubs'
33
description: This tutorial shows you how to consume events from Event Hubs to make updates in Azure Cosmos DB using a function written in Java.
44
author: KarlErickson
55
ms.topic: tutorial
6-
ms.date: 02/13/2024
6+
ms.date: 02/14/2024
77
ms.author: karler
88
ms.devlang: java
99
ms.custom: devx-track-java, devx-track-azurecli, devx-track-extended-java
@@ -314,7 +314,7 @@ az functionapp config appsettings set \
314314
--settings \
315315
AzureWebJobsStorage=$AZURE_WEB_JOBS_STORAGE \
316316
EventHubConnectionString=$EVENT_HUB_CONNECTION_STRING \
317-
CosmosDBConnectionString=$COSMOS_DB_CONNECTION_STRING
317+
CosmosDBConnectionSetting=$COSMOS_DB_CONNECTION_STRING
318318
```
319319

320320
# [Cmd](#tab/cmd)
@@ -326,7 +326,7 @@ az functionapp config appsettings set ^
326326
--settings ^
327327
AzureWebJobsStorage=%AZURE_WEB_JOBS_STORAGE% ^
328328
EventHubConnectionString=%EVENT_HUB_CONNECTION_STRING% ^
329-
CosmosDBConnectionString=%COSMOS_DB_CONNECTION_STRING%
329+
CosmosDBConnectionSetting=%COSMOS_DB_CONNECTION_STRING%
330330
```
331331

332332
---

0 commit comments

Comments
 (0)