Skip to content

Commit 5bb7d10

Browse files
authored
Merge pull request #12 from ggailey777/melony
Add link to repo sample
2 parents 9805b87 + f835202 commit 5bb7d10

File tree

3 files changed

+12
-26
lines changed

3 files changed

+12
-26
lines changed

.openpublishing.publish.config.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,12 @@
152152
"branch": "master",
153153
"branch_mapping": {}
154154
},
155+
{
156+
"path_to_root": "functions-azure-product",
157+
"url": "https://github.com/Azure/Azure-Functions",
158+
"branch": "main",
159+
"branch_mapping": {}
160+
},
155161
{
156162
"path_to_root": "functions-pytorch",
157163
"url": "https://github.com/Azure-Samples/functions-python-pytorch-tutorial",

articles/azure-functions/functions-versions.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ zone_pivot_groups: programming-languages-set-functions
1414
| Version | Support level | Description |
1515
| --- | --- | --- |
1616
| 4.x | GA | **_Recommended runtime version for functions in all languages._** Check out [Supported language versions](#languages). |
17-
| 3.x | GA | Supports all languages. Check out [Supported language versions](#languages). Reached the end of life (EOL) of extended support on December 13, 2022. We highly recommend you [migrating your apps from Azure Functions version 3.x to version 4.x](migrate-version-3-version-4.md). |
18-
| 2.x | GA | Supported for [legacy version 2.x apps](#pinning-to-version-20). This version is in maintenance mode, with enhancements provided only in later versions. Reached the end of life (EOL) of extended support on December 13, 2022. We highly recommend you [migrating your apps from Azure Functions version 3.x to version 4.x](migrate-version-3-version-4.md). |
17+
| 3.x | GA | Supported all languages (see [Supported language versions](#languages)). Reached the end of life (EOL) for extended support on December 13, 2022. We highly recommend you [migrating your apps from Azure Functions version 3.x to version 4.x](migrate-version-3-version-4.md) for full support. |
18+
| 2.x | GA | Supported for [legacy version 2.x apps](#pinning-to-version-20). This version is in maintenance mode, with enhancements provided only in later versions. Reached the end of life (EOL) on December 13, 2022. We highly recommend you [migrating your apps from Azure Functions version 3.x to version 4.x](migrate-version-3-version-4.md) for full support. |
1919
| 1.x | GA | Recommended only for C# apps that must use .NET Framework and only supports development in the Azure portal, Azure Stack Hub portal, or locally on Windows computers. This version is in maintenance mode, with enhancements provided only in later versions. |
2020

2121
This article details some of the differences between these versions, how you can create each version, and how to change the version on which your functions run.
@@ -45,7 +45,7 @@ When your app has existing functions, you must take precautions before moving to
4545

4646
### Changing version of apps in Azure
4747

48-
The following major runtime version values are supported:
48+
The following major runtime version values are used:
4949

5050
| Value | Runtime target |
5151
| ------ | -------- |

articles/azure-functions/migrate-version-3-version-4.md

Lines changed: 3 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -73,31 +73,11 @@ Azure Functions provides a pre-upgrade validator to help you identify potential
7373
1. After validation completes, review the recommendations and address any issues in your app. If you need to make changes to your app, make sure to validate the changes against version 4.x of the Functions runtime, either [locally using Azure Functions Core Tools v4](#upgrade-your-local-project) or by [using a staging slot](#upgrade-using-slots).
7474

7575

76-
## Identify Function Apps using Azure Powershell
77-
78-
To identify the list of v2&v3 Function Apps in your current Azure Subscription by using the Azure PowerShell script below:
79-
80-
```powershell
81-
$Subscription = '<YOUR SUBSCRIPTION ID>'
82-
83-
Set-AzContext -Subscription $Subscription | Out-Null
84-
85-
$FunctionApps = Get-AzFunctionApp
86-
87-
$AppInfo = @{}
88-
foreach ($App in $FunctionApps)
89-
{
90-
$AppSettings = Get-AzFunctionAppSetting -ResourceGroupName $App.ResourceGroupName -Name $App.Name
91-
if ($AppSettings['FUNCTIONS_EXTENSION_VERSION'] -eq '~3' -or $AppSettings['FUNCTIONS_EXTENSION_VERSION'] -like '3.*')
92-
{
93-
$AppInfo.Add($App.Name,$AppSettings['FUNCTIONS_EXTENSION_VERSION'])
94-
}
95-
}
96-
97-
$AppInfo
76+
## Identify function apps to upgrade
9877

99-
```
78+
Use the following PowerShell script to generate a list of function apps in your subscription that currently target versions 2.x or 3.x:
10079

80+
:::code language="powershell" source="~/functions-azure-product/EOLHostMigration/CheckEOLAppsPerAzSub.ps1" range="4-20":::
10181

10282
## Upgrade your local project
10383

0 commit comments

Comments
 (0)