Skip to content

Commit fc83085

Browse files
committed
Add intro about model
1 parent 96b232f commit fc83085

18 files changed

+63
-0
lines changed

articles/azure-functions/functions-bindings-cosmosdb-v2-input.md

+3
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ For information on setup and configuration details, see the [overview](./functio
1818
> When the collection is [partitioned](../cosmos-db/partitioning-overview.md#logical-partitions), lookup operations must also specify the partition key value.
1919
>
2020
21+
::: zone pivot="programming-language-javascript,programming-language-typescript"
22+
[!INCLUDE [functions-nodejs-model-tabs-description](../../includes/functions-nodejs-model-tabs-description.md)]
23+
::: zone-end
2124
::: zone pivot="programming-language-python"
2225
Azure Functions supports two programming models for Python. The way that you define your bindings depends on your chosen programming model.
2326

articles/azure-functions/functions-bindings-cosmosdb-v2-output.md

+3
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ The Azure Cosmos DB output binding lets you write a new document to an Azure Cos
1414

1515
For information on setup and configuration details, see the [overview](./functions-bindings-cosmosdb-v2.md).
1616

17+
::: zone pivot="programming-language-javascript,programming-language-typescript"
18+
[!INCLUDE [functions-nodejs-model-tabs-description](../../includes/functions-nodejs-model-tabs-description.md)]
19+
::: zone-end
1720
::: zone pivot="programming-language-python"
1821
Azure Functions supports two programming models for Python. The way that you define your bindings depends on your chosen programming model.
1922

articles/azure-functions/functions-bindings-cosmosdb-v2-trigger.md

+3
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ For information on setup and configuration details, see the [overview](./functio
1616

1717
Cosmos DB scaling decisions for the Consumption and Premium plans are done via target-based scaling. For more information, see [Target-based scaling](functions-target-based-scaling.md).
1818

19+
::: zone pivot="programming-language-javascript,programming-language-typescript"
20+
[!INCLUDE [functions-nodejs-model-tabs-description](../../includes/functions-nodejs-model-tabs-description.md)]
21+
::: zone-end
1922
::: zone pivot="programming-language-python"
2023
Azure Functions supports two programming models for Python. The way that you define your bindings depends on your chosen programming model.
2124

articles/azure-functions/functions-bindings-event-grid-output.md

+3
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ Use the Event Grid output binding to write events to a custom topic. You must ha
1515

1616
For information on setup and configuration details, see [How to work with Event Grid triggers and bindings in Azure Functions](event-grid-how-tos.md).
1717

18+
::: zone pivot="programming-language-javascript,programming-language-typescript"
19+
[!INCLUDE [functions-nodejs-model-tabs-description](../../includes/functions-nodejs-model-tabs-description.md)]
20+
::: zone-end
1821
::: zone pivot="programming-language-python"
1922
Azure Functions supports two programming models for Python. The way that you define your bindings depends on your chosen programming model.
2023

articles/azure-functions/functions-bindings-event-grid-trigger.md

+3
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ Use the function trigger to respond to an event sent by an [Event Grid source](.
1515
> [!NOTE]
1616
> Event Grid triggers aren't natively supported in an internal load balancer App Service Environment (ASE). The trigger uses an HTTP request that can't reach the function app without a gateway into the virtual network.
1717
18+
::: zone pivot="programming-language-javascript,programming-language-typescript"
19+
[!INCLUDE [functions-nodejs-model-tabs-description](../../includes/functions-nodejs-model-tabs-description.md)]
20+
::: zone-end
1821
::: zone pivot="programming-language-python"
1922
Azure Functions supports two programming models for Python. The way that you define your bindings depends on your chosen programming model.
2023

articles/azure-functions/functions-bindings-event-hubs-output.md

+3
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ Use the Event Hubs output binding to write events to an event stream. You must h
1818

1919
Make sure the required package references are in place before you try to implement an output binding.
2020

21+
::: zone pivot="programming-language-javascript,programming-language-typescript"
22+
[!INCLUDE [functions-nodejs-model-tabs-description](../../includes/functions-nodejs-model-tabs-description.md)]
23+
::: zone-end
2124
::: zone pivot="programming-language-python"
2225
Azure Functions supports two programming models for Python. The way that you define your bindings depends on your chosen programming model.
2326

articles/azure-functions/functions-bindings-http-webhook-output.md

+2
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ In the [Java functions runtime library](/java/api/overview/azure/functions/runti
4242

4343
::: zone-end
4444
::: zone pivot="programming-language-javascript,programming-language-typescript"
45+
[!INCLUDE [functions-nodejs-model-tabs-description](../../includes/functions-nodejs-model-tabs-description.md)]
46+
4547
## Configuration
4648

4749
# [Model v4](#tab/nodejs-v4)

articles/azure-functions/functions-bindings-http-webhook-trigger.md

+3
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ For more information about HTTP bindings, see the [overview](./functions-binding
2323

2424
[!INCLUDE [HTTP client best practices](../../includes/functions-http-client-best-practices.md)]
2525

26+
::: zone pivot="programming-language-javascript,programming-language-typescript"
27+
[!INCLUDE [functions-nodejs-model-tabs-description](../../includes/functions-nodejs-model-tabs-description.md)]
28+
::: zone-end
2629
::: zone pivot="programming-language-python"
2730
Azure Functions supports two programming models for Python. The way that you define your bindings depends on your chosen programming model.
2831

articles/azure-functions/functions-bindings-service-bus-output.md

+3
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ Use Azure Service Bus output binding to send queue or topic messages.
1515

1616
For information on setup and configuration details, see the [overview](functions-bindings-service-bus.md).
1717

18+
::: zone pivot="programming-language-javascript,programming-language-typescript"
19+
[!INCLUDE [functions-nodejs-model-tabs-description](../../includes/functions-nodejs-model-tabs-description.md)]
20+
::: zone-end
1821
::: zone pivot="programming-language-python"
1922
Azure Functions supports two programming models for Python. The way that you define your bindings depends on your chosen programming model.
2023

articles/azure-functions/functions-bindings-service-bus-trigger.md

+3
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ For information on setup and configuration details, see the [overview](functions
1818

1919
Service Bus scaling decisions for the Consumption and Premium plans are made based on target-based scaling. For more information, see [Target-based scaling](functions-target-based-scaling.md).
2020

21+
::: zone pivot="programming-language-javascript,programming-language-typescript"
22+
[!INCLUDE [functions-nodejs-model-tabs-description](../../includes/functions-nodejs-model-tabs-description.md)]
23+
::: zone-end
2124
::: zone pivot="programming-language-python"
2225
Azure Functions supports two programming models for Python. The way that you define your bindings depends on your chosen programming model.
2326

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

+3
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ The input binding allows you to read blob storage data as input to an Azure Func
1414

1515
For information on setup and configuration details, see the [overview](./functions-bindings-storage-blob.md).
1616

17+
::: zone pivot="programming-language-javascript,programming-language-typescript"
18+
[!INCLUDE [functions-nodejs-model-tabs-description](../../includes/functions-nodejs-model-tabs-description.md)]
19+
::: zone-end
1720
::: zone pivot="programming-language-python"
1821
Azure Functions supports two programming models for Python. The way that you define your bindings depends on your chosen programming model.
1922

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

+3
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ The output binding allows you to modify and delete blob storage data in an Azure
1414

1515
For information on setup and configuration details, see the [overview](./functions-bindings-storage-blob.md).
1616

17+
::: zone pivot="programming-language-javascript,programming-language-typescript"
18+
[!INCLUDE [functions-nodejs-model-tabs-description](../../includes/functions-nodejs-model-tabs-description.md)]
19+
::: zone-end
1720
::: zone pivot="programming-language-python"
1821
Azure Functions supports two programming models for Python. The way that you define your bindings depends on your chosen programming model.
1922

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

+3
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ The Blob storage trigger starts a function when a new or updated blob is detecte
1717
1818
For information on setup and configuration details, see the [overview](./functions-bindings-storage-blob.md).
1919

20+
::: zone pivot="programming-language-javascript,programming-language-typescript"
21+
[!INCLUDE [functions-nodejs-model-tabs-description](../../includes/functions-nodejs-model-tabs-description.md)]
22+
::: zone-end
2023
::: zone pivot="programming-language-python"
2124
Azure Functions supports two programming models for Python. The way that you define your bindings depends on your chosen programming model.
2225

articles/azure-functions/functions-bindings-storage-queue-output.md

+3
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ Azure Functions can create new Azure Queue storage messages by setting up an out
1414

1515
For information on setup and configuration details, see the [overview](./functions-bindings-storage-queue.md).
1616

17+
::: zone pivot="programming-language-javascript,programming-language-typescript"
18+
[!INCLUDE [functions-nodejs-model-tabs-description](../../includes/functions-nodejs-model-tabs-description.md)]
19+
::: zone-end
1720
::: zone pivot="programming-language-python"
1821
Azure Functions supports two programming models for Python. The way that you define your bindings depends on your chosen programming model.
1922

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

+3
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ The queue storage trigger runs a function as messages are added to Azure Queue s
1414

1515
Azure Queue storage scaling decisions for the Consumption and Premium plans are done via target-based scaling. For more information, see [Target-based scaling](functions-target-based-scaling.md).
1616

17+
::: zone pivot="programming-language-javascript,programming-language-typescript"
18+
[!INCLUDE [functions-nodejs-model-tabs-description](../../includes/functions-nodejs-model-tabs-description.md)]
19+
::: zone-end
1720
::: zone pivot="programming-language-python"
1821
Azure Functions supports two programming models for Python. The way that you define your bindings depends on your chosen programming model.
1922

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

+3
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ For information on how to manually run a timer-triggered function, see [Manually
2121

2222
Source code for the timer extension package is in the [azure-webjobs-sdk-extensions](https://github.com/Azure/azure-webjobs-sdk-extensions/blob/master/src/WebJobs.Extensions/Extensions/Timers/) GitHub repository.
2323

24+
::: zone pivot="programming-language-javascript,programming-language-typescript"
25+
[!INCLUDE [functions-nodejs-model-tabs-description](../../includes/functions-nodejs-model-tabs-description.md)]
26+
::: zone-end
2427
::: zone pivot="programming-language-python"
2528
Azure Functions supports two programming models for Python. The way that you define your bindings depends on your chosen programming model.
2629

includes/functions-bindings-event-hubs-trigger.md

+3
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ Event Hubs scaling decisions for the Consumption and Premium plans are done via
1212

1313
For information about how Azure Functions responds to events sent to an event hub event stream using triggers, see [Integrate Event Hubs with serverless functions on Azure](/azure/architecture/serverless/event-hubs-functions/event-hubs-functions#consuming-events-with-azure-functions).
1414

15+
::: zone pivot="programming-language-javascript,programming-language-typescript"
16+
[!INCLUDE [functions-nodejs-model-tabs-description](./functions-nodejs-model-tabs-description.md)]
17+
::: zone-end
1518
::: zone pivot="programming-language-python"
1619
Azure Functions supports two programming models for Python. The way that you define your bindings depends on your chosen programming model.
1720

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
title: include file
3+
description: include file
4+
author: ejizba
5+
ms.service: azure-functions
6+
ms.topic: include
7+
ms.date: 08/30/2023
8+
ms.author: erijiz
9+
ms.custom: include file
10+
---
11+
12+
> [!IMPORTANT]
13+
> This article uses tabs to support multiple versions of the Node.js programming model. The v4 model is currently in preview and is designed to have a more flexible and intuitive experience for JavaScript and TypeScript developers. Learn more about the differences between v3 and v4 in the [upgrade guide](../articles/azure-functions/functions-node-upgrade-v4.md).

0 commit comments

Comments
 (0)