From be2cf64a5d8afa0ced44d542c4385c227d398ad2 Mon Sep 17 00:00:00 2001 From: Taco Witte Date: Wed, 27 Sep 2023 13:28:27 +0200 Subject: [PATCH 1/2] chore: update extension bundle because CosmosDB version will retire --- HttpExample/function.json | 4 ++-- host.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/HttpExample/function.json b/HttpExample/function.json index acae8b7..8f8ceb7 100644 --- a/HttpExample/function.json +++ b/HttpExample/function.json @@ -17,8 +17,8 @@ "type": "cosmosDB", "direction": "out", "databaseName": "mydatabase", - "collectionName": "mycollection", - "connectionStringSetting": "CosmosDBConnectionString" + "containerName": "mycollection", + "leaseConnection": "CosmosDBConnectionString" } ] } \ No newline at end of file diff --git a/host.json b/host.json index 9343914..f61b9c4 100644 --- a/host.json +++ b/host.json @@ -2,7 +2,7 @@ "version": "2.0", "extensionBundle": { "id": "Microsoft.Azure.Functions.ExtensionBundle", - "version": "[2.*, 3.0.0)" + "version": "[4.*, 5.0.0)" }, "customHandler": { "description": { From 3ee2695b09b81754e725ba3bdaf4fac7f402a23b Mon Sep 17 00:00:00 2001 From: Taco Witte Date: Wed, 27 Sep 2023 13:49:35 +0200 Subject: [PATCH 2/2] chore: typo --- HttpExample/function.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/HttpExample/function.json b/HttpExample/function.json index 8f8ceb7..a56131c 100644 --- a/HttpExample/function.json +++ b/HttpExample/function.json @@ -18,7 +18,7 @@ "direction": "out", "databaseName": "mydatabase", "containerName": "mycollection", - "leaseConnection": "CosmosDBConnectionString" + "connection": "CosmosDBConnectionString" } ] } \ No newline at end of file