Skip to content

Commit 874e81c

Browse files
Merge pull request #312473 from MicrosoftDocs/main
Auto Publish – main to live - 2026-03-02 12:00 UTC
2 parents f677a00 + 15ac51b commit 874e81c

39 files changed

Lines changed: 150 additions & 132 deletions

File tree

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

articles/backup/about-azure-vm-restore.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ To understand the Azure VM restore process, review the following key concepts:
1919

2020
- **Recovery Point** (also known as **Restore Point**): A recovery point is a copy of the original data that's being backed up.
2121

22-
- **Tier (snapshot vs. vault)**: Azure VM backup happens in two phases:
22+
- **Tier (snapshot vs. vault)**: Azure VM recovery points are available in two tiers:
2323

24-
- In phase 1, the snapshot taken is stored along with the disk. This process is called **snapshot tier**. Snapshot tier restores are faster (than restore from vault) because they eliminate the wait time for snapshots to copy to the vault before triggering the restore. So restore from the snapshot tier is also referred as [Instant Restore](./backup-instant-restore-capability.md).
25-
- In phase 2, the snapshot is transferred and stored in the vault managed by the Azure Backup service. This process is called **vault tier**.
24+
- **Snapshot tier**: The snapshot is stored along with the disk. Snapshot-tier restores are faster than restore from vault because they eliminate the wait time for snapshots to copy to the vault before triggering the restore. So restore from the snapshot tier is also referred to as [Instant Restore](./backup-instant-restore-capability.md).
25+
- **Vault tier**: The snapshot is transferred and stored in the vault managed by Azure Backup.
2626

2727
- **Original Location Recovery (OLR)**: A recovery done from the restore point to the source Azure VM from where the backups were taken, replacing it with the state stored in the recovery point. This process replaces the OS disk and the data disks of the source VM.
2828

articles/backup/backup-azure-arm-restore-vms.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ To select a restore point for a VM restore, follow these steps:
8686

8787
>[!Note]
8888
>Use the **Replace existing** option only when the **Transfer Data to Vault** subtask in the job details shows successfully completed. Otherwise, use the **Create New** option for the latest recovery point restoration.
89+
>For more information about backup phases and progress interpretation, see [Verify the backup job status](backup-azure-arm-vms-prepare.md#verify-the-backup-job-status).
8990
9091
## Create a VM
9192

articles/backup/backup-azure-arm-vms-prepare.md

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -147,17 +147,26 @@ The initial backup runs based on the schedule, but you can also run it immediate
147147

148148
## Verify the backup job status
149149

150-
The backup job details for each VM backup consist of two phases: **Snapshot** is followed by **Transfer data to vault**.
150+
The backup job details for each VM backup include the following phases:
151151

152-
- **Snapshot**: Ensures that the availability of a recovery point is stored along with the disks for Instant Restore and is available for a maximum of five days depending on the snapshot retention configured by the user.
153-
- **Transfer data to vault**: Creates a recovery point in the vault for long-term retention. **Transfer data to vault** starts only after **Snapshot** is finished.
152+
- **Snapshot**: Azure Backup takes a snapshot of the VM disks. This phase ensures a recovery point is available for Instant Restore for up to 30 days, depending on the configured policy type and snapshot retention.
153+
- **Transfer data to vault**: Data is copied from the VM to the Recovery Services vault to create a recovery point for long-term retention. This phase starts after **Snapshot** finishes.
154+
- **Validate backup**: Azure Backup performs an integrity check to verify transferred data and confirm that the recovery point is usable.
154155

155156
![Screenshot that shows backup job status.](./media/backup-azure-arm-vms-prepare/backup-job-status.png)
156157

157-
Two subtasks run at the back end. One is for the front-end backup job that you can check on the **Backup** pane under **Job Details**.
158+
In job details, the subtasks provide visibility into the backup job phases.
158159

159160
![Screenshot that shows backup job status subtasks.](./media/backup-azure-arm-vms-prepare/backup-job-phase.png)
160161

162+
The progress bar tracks only **Transfer data to vault** and shows the proportion of data transferred. **Snapshot** and **Validate backup** durations aren't represented on the progress bar. Use the progress bar as a transfer indicator, not as an estimate of total backup completion time.
163+
164+
> [!IMPORTANT]
165+
> - Completion of **Transfer data to vault** doesn't confirm a restorable recovery point. The backup is considered restorable only after **Validate backup** succeeds.
166+
> - **Snapshot** and **Validate backup** durations are excluded from the progress bar because they're not predictably time-bound.
167+
> - The progress bar doesn't represent total time remaining or estimated timeline.
168+
> - This progress experience improves visibility only. It doesn't change the underlying backup workflow.
169+
161170
**Transfer data to vault** can take multiple days to finish depending on the size of the disks, the churn per disk, and other factors.
162171

163172
Job status can vary depending on the following scenarios:

articles/backup/backup-azure-vms-extended-zones.md

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -115,17 +115,16 @@ The initial backup runs in accordance with the schedule in the backup policy. To
115115

116116
Monitor the portal notifications. To monitor the job progress, go to **Resiliency** > **Monitoring + Reporting** > **Jobs** and filter the list for **In progress** jobs. Depending on the size of your VM, creating the initial backup might take a while.
117117

118-
Backup job details for each VM backup consist of the following phases:
119-
120-
- **Snapshot**: Ensures that the availability of a recovery point is stored along with the disks for instant restores. They're available for a maximum of five days depending on the snapshot retention that the user configured.
121-
- **Transfer data to vault**: Creates a recovery point in the vault for long-term retention. This phase starts after the snapshot phase is finished.
118+
Backup job details show **Snapshot** and **Transfer data to vault** subtasks. **Snapshot** ensures availability of a recovery point for instant restores (up to 30 days, based on configured snapshot retention). **Transfer data to vault** creates a recovery point in the vault for long-term retention and starts after **Snapshot** completes.
122119

123120
:::image type="content" source="./media/backup-azure-arm-vms-prepare/backup-job-status.png" alt-text="Screenshot that shows the backup job status." lightbox="./media/backup-azure-arm-vms-prepare/backup-job-status.png":::
124121

125122
Two subtasks run at the back end. One is for the front-end backup job that you can check on the **Backup Job Details** pane.
126123

127124
:::image type="content" source="./media/backup-azure-arm-vms-prepare/backup-job-phase.png" alt-text="Screenshot that shows backup job status subtasks." lightbox="./media/backup-azure-arm-vms-prepare/backup-job-phase.png":::
128125

126+
For information on VM backup job phases and how to interpret the progress bar, see [Verify the backup job status](backup-azure-arm-vms-prepare.md#verify-the-backup-job-status).
127+
129128
Transfer data to vault can take multiple days to complete depending on the size of the disks, churn per disk, and several other factors.
130129

131130
Job status can vary depending on the following scenarios:
@@ -138,9 +137,7 @@ Completed | Completed | Completed
138137
Completed | Failed | Completed with warning
139138
Failed | Failed | Failed
140139

141-
With this capability, for the same VM, two backups can run in parallel, but only one subtask can run at a time in either the snapshot phase or the transfer data to vault phase. This decoupling prevents next-day backups from failing because of a backup job already in progress. Subsequent days' backups can have the snapshot completed, while transfer data to vault is skipped if an earlier day's backup job is in an in-progress state.
142-
143-
The incremental recovery point created in the vault captures all the churn from the most recent recovery point created in the vault. There's no cost impact on the user.
140+
For parallel backup behavior and incremental recovery-point guidance, see [VM backup job progress phases](backup-azure-arm-vms-prepare.md#verify-the-backup-job-status).
144141

145142
## Optional steps
146143

-11 KB
Loading

0 commit comments

Comments
 (0)