Skip to content

Commit 832da44

Browse files
Merge pull request #311863 from ggailey777/pr-123433-custom-track
[Functions] February customer fixes (PRs and UUF items)
2 parents 604e914 + d0fa546 commit 832da44

8 files changed

Lines changed: 30 additions & 28 deletions

articles/azure-functions/functions-add-output-binding-azure-sql-vs-code.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Connect Azure Functions to Azure SQL Database using Visual Studio Code
33
description: Learn how to connect Azure Functions to Azure SQL Database by adding an output binding to your Visual Studio Code project.
4-
ms.date: 12/29/2024
4+
ms.date: 02/26/2026
55
ms.topic: quickstart
66
author: dzsquared
77
ms.author: drskwier
@@ -26,7 +26,7 @@ This article shows you how to use Visual Studio Code to connect [Azure SQL Datab
2626
Before you begin, you must complete the [quickstart: Create a C# function in Azure using Visual Studio Code](how-to-create-function-vs-code.md?pivot=programming-language-csharp). If you already cleaned up resources at the end of that article, go through the steps again to recreate the function app and related resources in Azure.
2727
::: zone-end
2828
::: zone pivot="programming-language-javascript"
29-
Before you begin, you must complete the [quickstart: Create a JavaScript function in Azure using Visual Studio Code](how-to-create-function-vs-code.md?pivot=programming-language-javascript?pivot=nodejs-model-v3). If you already cleaned up resources at the end of that article, go through the steps again to recreate the function app and related resources in Azure.
29+
Before you begin, you must complete the [quickstart: Create a JavaScript function in Azure using Visual Studio Code](how-to-create-function-vs-code.md?pivot=programming-language-javascript). If you already cleaned up resources at the end of that article, go through the steps again to recreate the function app and related resources in Azure.
3030
::: zone-end
3131
::: zone pivot="programming-language-python"
3232
Before you begin, you must complete the [quickstart: Create a Python function in Azure using Visual Studio Code](how-to-create-function-vs-code.md?pivot=programming-language-python). If you already cleaned up resources at the end of that article, go through the steps again to recreate the function app and related resources in Azure.
@@ -224,7 +224,7 @@ At this point, your function should look as follows:
224224

225225

226226
::: zone pivot="programming-language-python"
227-
Update *HttpExample\\function_app.py* to match the following code. Add the `toDoItems` parameter to the function definition and `toDoItems.set()` under the `if name:` statement:
227+
Update *function_app.py* to match the following code. Add the `toDoItems` parameter to the function definition and `toDoItems.set()` under the `if name:` statement:
228228

229229
```python
230230
import azure.functions as func

articles/azure-functions/functions-add-output-binding-cosmos-db-vs-code.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Connect Azure Functions to Azure Cosmos DB using Visual Studio Code
33
description: Learn how to connect Azure Functions to an Azure Cosmos DB account by adding an output binding to your Visual Studio Code project.
4-
ms.date: 04/25/2024
4+
ms.date: 02/26/2026
55
ms.topic: quickstart
66
zone_pivot_groups: programming-languages-set-functions-temp
77
ms.devlang: csharp
@@ -25,10 +25,10 @@ This article shows you how to use Visual Studio Code to connect [Azure Cosmos DB
2525
Before you begin, you must complete the [quickstart: Create a C# function in Azure using Visual Studio Code](how-to-create-function-vs-code.md?pivot=programming-language-csharp). If you already cleaned up resources at the end of that article, go through the steps again to recreate the function app and related resources in Azure.
2626
::: zone-end
2727
::: zone pivot="programming-language-javascript"
28-
Before you begin, you must complete the [quickstart: Create a JavaScript function in Azure using Visual Studio Code](how-to-create-function-vs-code.md?pivot=programming-language-javascript?pivot=nodejs-model-v3). If you already cleaned up resources at the end of that article, go through the steps again to recreate the function app and related resources in Azure.
28+
Before you begin, you must complete the [quickstart: Create a JavaScript function in Azure using Visual Studio Code](how-to-create-function-vs-code.md?pivot=programming-language-javascript). If you already cleaned up resources at the end of that article, go through the steps again to recreate the function app and related resources in Azure.
2929

3030
>[!NOTE]
31-
>This article currently only supports [Node.js v3 for Functions](./functions-reference-node.md?pivots=nodejs-model-v3).
31+
>This article supports [Node.js v4 for Functions](./functions-reference-node.md?pivots=nodejs-model-v4).
3232
::: zone-end
3333
::: zone pivot="programming-language-python"
3434
Before you begin, you must complete the [quickstart: Create a Python function in Azure using Visual Studio Code](how-to-create-function-vs-code.md?pivot=programming-language-python). If you already cleaned up resources at the end of that article, go through the steps again to recreate the function app and related resources in Azure.
@@ -170,9 +170,9 @@ In this code, `arg_name` identifies the binding parameter referenced in your cod
170170
## Add code that uses the output binding
171171

172172
::: zone pivot="programming-language-csharp"
173-
Replace the existing Run method with the following code:
173+
Replace the existing `Run` method with the following code:
174174

175-
:::code language="csharp" source="~/functions-docs-csharp/functions-add-output-binding-cosmos-db-isolated/HttpExample.cs" range="11-34":::
175+
:::code language="csharp" source="~/functions-docs-csharp/functions-add-output-binding-cosmos-db-isolated/HttpExample.cs" range="17-34":::
176176

177177
::: zone-end
178178
::: zone pivot="programming-language-javascript"
@@ -188,7 +188,7 @@ This code now returns a `MultiResponse` object that contains both a document and
188188

189189
::: zone-end
190190
::: zone pivot="programming-language-python"
191-
Update *HttpExample\\function_app.py* to match the following code. Add the `outputDocument` parameter to the function definition and `outputDocument.set()` under the `if name:` statement:
191+
Update *function_app.py* to match the following code. Add the `outputDocument` parameter to the function definition and `outputDocument.set()` under the `if name:` statement:
192192

193193
```python
194194
import azure.functions as func

articles/azure-functions/functions-bindings-storage-blob-trigger.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ For examples of using other SDK types, see the [`ContainerClient`](https://githu
263263

264264
To learn more, including what other SDK type bindings are supported, see [SDK type bindings](functions-reference-python.md#sdk-type-bindings).
265265

266-
This example logs information from the incoming blob metadata.
266+
This example logs the blob name and size from the incoming blob trigger.
267267

268268
```python
269269
import logging
@@ -273,8 +273,8 @@ app = func.FunctionApp()
273273

274274
@app.function_name(name="BlobTrigger1")
275275
@app.blob_trigger(arg_name="myblob",
276-
path="PATH/TO/BLOB",
277-
connection="CONNECTION_SETTING")
276+
path="samples-workitems/{name}",
277+
connection="MyStorageAccountAppSetting")
278278
def test_function(myblob: func.InputStream):
279279
logging.info(f"Python blob trigger function processed blob \n"
280280
f"Name: {myblob.name}\n"

articles/azure-functions/functions-reference-node.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1116,11 +1116,16 @@ In addition to the default `context.log` method, the following methods are avail
11161116
11171117
Azure Functions lets you define the threshold level to be used when tracking and viewing logs. To set the threshold, use the `logging.logLevel` property in the `host.json` file. This property lets you define a default level applied to all functions, or a threshold for each individual function. To learn more, see [How to configure monitoring for Azure Functions](configure-monitoring.md).
11181118
1119-
::: zone pivot="nodejs-model-v3"
1120-
11211119
## Track custom data
11221120
1123-
By default, Azure Functions writes output as traces to Application Insights. For more control, you can instead use the [Application Insights Node.js SDK](https://github.com/microsoft/applicationinsights-node.js) to send custom data to your Application Insights instance.
1121+
By default, Azure Functions writes output as traces to Application Insights. For more control, you can instead use the [Application Insights Node.js SDK](https://github.com/microsoft/applicationinsights-node.js) to send custom logs, metrics, and dependencies to your Application Insights instance.
1122+
1123+
> [!NOTE]
1124+
> Methods in the Application Insights Node.js SDK might change over time. There might be minor syntax differences from the examples shown here. For the latest API usage examples, see the [Application Insights Node.js SDK documentation](https://github.com/microsoft/applicationinsights-node.js).
1125+
1126+
::: zone pivot="nodejs-model-v4"
1127+
For distributed tracing in the Node.js v4 programming model, you can use the [`@azure/functions-opentelemetry-instrumentation`](https://www.npmjs.com/package/@azure/functions-opentelemetry-instrumentation) package instead of the Application Insights SDK. This package provides OpenTelemetry-based automatic instrumentation for Azure Functions. For more information, see the [OpenTelemetry Azure Functions Instrumentation for Node.js](https://github.com/Azure/azure-functions-nodejs-opentelemetry) GitHub repository.
1128+
::: zone-end
11241129
11251130
# [JavaScript](#tab/javascript)
11261131
@@ -1237,8 +1242,6 @@ export default httpTrigger;
12371242
12381243
The `tagOverrides` parameter sets the `operation_Id` to the function's invocation ID. This setting enables you to correlate all of the automatically generated and custom logs for a given function invocation.
12391244
1240-
::: zone-end
1241-
12421245
<a name="http-triggers-and-bindings"></a>
12431246
12441247
## HTTP triggers

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Triggers and Bindings in Azure Functions
33
description: Learn how to use triggers and bindings to connect your Azure function to online events and cloud-based services.
44
ms.topic: concept-article
5-
ms.date: 10/10/2025
5+
ms.date: 02/26/2026
66
ms.custom: devdivchpfy22, devx-track-extended-java, devx-track-js, devx-track-python, devx-track-ts
77
zone_pivot_groups: programming-languages-set-functions
88
ai-usage: ai-assisted
@@ -46,7 +46,7 @@ For C# class library functions, you configure triggers and bindings by decoratin
4646

4747
The HTTP trigger (`HttpTrigger`) is defined on the `Run` method for a function named `HttpExample` that returns a `MultiResponse` object:
4848

49-
:::code language="csharp" source="~/functions-docs-csharp/functions-add-output-binding-storage-queue-isolated/HttpExample.cs" range="11-14":::
49+
:::code language="csharp" source="~/functions-docs-csharp/functions-add-output-binding-storage-queue-isolated/HttpExample.cs" range="17-18":::
5050

5151
This example shows the `MultiResponse` object definition. The object definition returns `HttpResponse` to the HTTP request and writes a message to a storage queue by using a `QueueOutput` binding:
5252

includes/functions-add-output-binding-example-all-languages.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
author: ggailey777
33
ms.service: azure-functions
44
ms.topic: include
5-
ms.date: 03/06/2024
5+
ms.date: 02/26/2026
66
ms.author: glenga
77
---
88

@@ -13,8 +13,7 @@ Because an HTTP triggered function also returns an HTTP response, the function r
1313

1414
```csharp
1515
[Function("HttpExample")]
16-
public static MultiResponse Run([HttpTrigger(AuthorizationLevel.Function, "get", "post")] HttpRequest req,
17-
FunctionContext executionContext)
16+
public MultiResponse Run([HttpTrigger(AuthorizationLevel.Function, "get", "post")] HttpRequest req)
1817
{
1918
```
2019

@@ -29,7 +28,7 @@ public class MultiResponse
2928
}
3029
```
3130

32-
When applying that example to your own project, you might need to change `HttpRequest` to `HttpRequestData` and `IActionResult` to `HttpResponseData`, depending on if you are using [ASP.NET Core integration](../articles/azure-functions/dotnet-isolated-process-guide.md#aspnet-core-integration) or not.
31+
This example uses [ASP.NET Core integration](../articles/azure-functions/dotnet-isolated-process-guide.md#aspnet-core-integration). If you aren't using ASP.NET Core integration, you need to change `HttpRequest` to `HttpRequestData` and `IActionResult` to `HttpResponseData`.
3332

3433
### [In-process](#tab/in-process)
3534
:::code language="csharp" source="~/functions-docs-csharp/functions-add-output-binding-storage-queue-cli/HttpExample.cs" range="14-18" highlight="4":::

includes/functions-add-output-binding-python-v2.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
author: ggailey777
33
ms.service: azure-functions
44
ms.topic: include
5-
ms.date: 03/04/2024
5+
ms.date: 02/26/2026
66
ms.author: glenga
77
---
88

99
Binding attributes are defined by decorating specific function code in the *function_app.py* file. You use the `queue_output` decorator to add an [Azure Queue storage output binding](/azure/azure-functions/functions-bindings-triggers-python#azure-queue-storage-output-binding).
1010

11-
By using the `queue_output` decorator, the binding direction is implicitly 'out' and type is Azure Storage Queue. Add the following decorator to your function code in *HttpExample\\function_app.py*:
11+
By using the `queue_output` decorator, the binding direction is implicitly 'out' and type is Azure Storage Queue. Add the following decorator to your function code in *function_app.py*:
1212

1313
:::code language="python" source="~/functions-docs-python-v2/function_app.py" range="7":::
1414

includes/functions-add-storage-binding-csharp-library-code.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@
22
author: ggailey777
33
ms.service: azure-functions
44
ms.topic: include
5-
ms.date: 06/10/2022
5+
ms.date: 02/26/2026
66
ms.author: glenga
77
ms.custom: devdivchpfy22
88
---
99

1010
# [Isolated worker model](#tab/isolated-process)
1111

12-
Replace the existing `HttpExample` class with the following code:
12+
Replace the existing `Run` method with the following code:
1313

14-
:::code language="csharp" source="~/functions-docs-csharp/functions-add-output-binding-storage-queue-isolated/HttpExample.cs" range="11-32":::
14+
:::code language="csharp" source="~/functions-docs-csharp/functions-add-output-binding-storage-queue-isolated/HttpExample.cs" range="17-31":::
1515

1616
# [In-process model](#tab/in-process)
1717

0 commit comments

Comments
 (0)