You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/azure-functions/functions-add-output-binding-azure-sql-vs-code.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
2
title: Connect Azure Functions to Azure SQL Database using Visual Studio Code
3
3
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
5
5
ms.topic: quickstart
6
6
author: dzsquared
7
7
ms.author: drskwier
@@ -26,7 +26,7 @@ This article shows you how to use Visual Studio Code to connect [Azure SQL Datab
26
26
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.
27
27
::: zone-end
28
28
::: 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.
30
30
::: zone-end
31
31
::: zone pivot="programming-language-python"
32
32
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:
224
224
225
225
226
226
::: 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:
@@ -25,10 +25,10 @@ This article shows you how to use Visual Studio Code to connect [Azure Cosmos DB
25
25
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.
26
26
::: zone-end
27
27
::: 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.
29
29
30
30
>[!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).
32
32
::: zone-end
33
33
::: zone pivot="programming-language-python"
34
34
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
170
170
## Add code that uses the output binding
171
171
172
172
::: 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:
@@ -188,7 +188,7 @@ This code now returns a `MultiResponse` object that contains both a document and
188
188
189
189
::: zone-end
190
190
::: 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:
Copy file name to clipboardExpand all lines: articles/azure-functions/functions-reference-node.md
+8-5Lines changed: 8 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1116,11 +1116,16 @@ In addition to the default `context.log` method, the following methods are avail
1116
1116
1117
1117
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).
1118
1118
1119
-
::: zone pivot="nodejs-model-v3"
1120
-
1121
1119
## Track custom data
1122
1120
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
1124
1129
1125
1130
# [JavaScript](#tab/javascript)
1126
1131
@@ -1237,8 +1242,6 @@ export default httpTrigger;
1237
1242
1238
1243
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.
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:
Copy file name to clipboardExpand all lines: articles/backup/about-azure-vm-restore.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,10 +19,10 @@ To understand the Azure VM restore process, review the following key concepts:
19
19
20
20
-**Recovery Point** (also known as **Restore Point**): A recovery point is a copy of the original data that's being backed up.
21
21
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:
23
23
24
-
-In phase 1, the snapshot taken is stored along with the disk. This process is called **snapshot tier**. Snapshottier 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.
26
26
27
27
-**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.
Copy file name to clipboardExpand all lines: articles/backup/backup-azure-arm-restore-vms.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -86,6 +86,7 @@ To select a restore point for a VM restore, follow these steps:
86
86
87
87
>[!Note]
88
88
>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).
Copy file name to clipboardExpand all lines: articles/backup/backup-azure-arm-vms-prepare.md
+13-4Lines changed: 13 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -147,17 +147,26 @@ The initial backup runs based on the schedule, but you can also run it immediate
147
147
148
148
## Verify the backup job status
149
149
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:
151
151
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.
154
155
155
156

156
157
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.
158
159
159
160

160
161
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
+
161
170
**Transfer data to vault** can take multiple days to finish depending on the size of the disks, the churn per disk, and other factors.
162
171
163
172
Job status can vary depending on the following scenarios:
Copy file name to clipboardExpand all lines: articles/backup/backup-azure-vms-extended-zones.md
+4-7Lines changed: 4 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -115,17 +115,16 @@ The initial backup runs in accordance with the schedule in the backup policy. To
115
115
116
116
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.
117
117
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.
122
119
123
120
:::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":::
124
121
125
122
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.
126
123
127
124
:::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":::
128
125
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
+
129
128
Transfer data to vault can take multiple days to complete depending on the size of the disks, churn per disk, and several other factors.
130
129
131
130
Job status can vary depending on the following scenarios:
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).
0 commit comments