Skip to content

Commit 492751b

Browse files
committed
Make into an include
1 parent 24eb932 commit 492751b

File tree

3 files changed

+17
-11
lines changed

3 files changed

+17
-11
lines changed

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

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1447,17 +1447,9 @@ This sets the [`WEBSITE_NODE_DEFAULT_VERSION` application setting](./functions-a
14471447
14481448
# [Azure portal](#tab/azure-portal/windows)
14491449
1450-
The following steps apply when your function app is running on either Linux or Windows.
1450+
Use the following steps to change the Node.js version:
14511451
1452-
1. In the [Azure portal](https://portal.azure.com), locate your function app and select **Configuration** on the left-hand side.
1453-
1454-
1. Select the **Function runtime settings** tab and verify that your function app is running on the latest version of the Functions runtime.
1455-
1456-
1. Select the **General settings** tab and update the **Node.js Version** to the latest version. Ideally, you have already locally verified that your functions run on the version you select.
1457-
1458-
:::image type="content" source="media/functions-reference-node/set-nodejs-version-portal.png" alt-text="Screenshot of setting Node.js for the function app to the latest LTS version in the Azure portal. ":::
1459-
1460-
1. When notified about a restart, select **Continue**, and then select **Save**.
1452+
[!INCLUDE [functions-set-nodejs-version-portal](../../includes/functions-set-nodejs-version-portal.md)]
14611453
14621454
# [Azure CLI](#tab/azure-cli/linux)
14631455
@@ -1472,7 +1464,12 @@ This sets the base image of the Linux function app to Node.js version 18.
14721464
14731465
# [Azure portal](#tab/azure-portal/linux)
14741466
1475-
You can't change the Node.js version in the Azure portal for a function app running on Linux. Instead use the Azure CLI.
1467+
>[!NOTE}
1468+
> You can't change the Node.js version in the Azure portal when your function app is running on Linux in a Consumption plan. Instead use the Azure CLI.
1469+
1470+
For Premium and Dedicated plans, use the following steps to change the Node.js version:
1471+
1472+
[!INCLUDE [functions-set-nodejs-version-portal](../../includes/functions-set-nodejs-version-portal.md)]
14761473
14771474
---
14781475
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
1. In the [Azure portal](https://portal.azure.com), locate your function app and select **Configuration** on the left-hand side.
2+
3+
1. Select the **Function runtime settings** tab and verify that your function app is running on the latest version of the Functions runtime.
4+
5+
1. Select the **General settings** tab and update the **Node.js Version** to the latest version. Ideally, you have already locally verified that your functions run on the version you select.
6+
7+
:::image type="content" source="media/functions-set-nodejs-version-portal/set-nodejs-version-portal.png" alt-text="Screenshot of setting Node.js for the function app to the latest LTS version in the Azure portal. ":::
8+
9+
1. When notified about a restart, select **Continue**, and then select **Save**.

0 commit comments

Comments
 (0)