Provider - Get Function App Stacks
Description for Get available Function app frameworks and their versions
GET https://management.azure.com/providers/Microsoft.Web/functionAppStacks?api-version=2023-12-01
GET https://management.azure.com/providers/Microsoft.Web/functionAppStacks?stackOsType={stackOsType}&api-version=2023-12-01
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
api-version
|
query | True |
string |
API Version |
stack
|
query |
Stack OS Type |
Responses
Name | Type | Description |
---|---|---|
200 OK |
OK |
|
Other Status Codes |
App Service error response. |
Security
azure_auth
Azure Active Directory OAuth2 Flow
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize
Scopes
Name | Description |
---|---|
user_impersonation | impersonate your user account |
Examples
Get Function App Stacks
Sample Request
GET https://management.azure.com/providers/Microsoft.Web/functionAppStacks?api-version=2023-12-01
Sample Response
{
"value": [
{
"id": "/providers/Microsoft.Web/functionAppStacks/dotnet",
"name": "dotnet",
"type": "Microsoft.Web/functionAppStacks",
"properties": {
"displayText": ".NET",
"value": "dotnet",
"preferredOs": "Windows",
"majorVersions": [
{
"displayText": ".NET Core 3",
"value": "3",
"minorVersions": [
{
"displayText": ".NET Core 3.1",
"value": "3.1",
"stackSettings": {
"windowsRuntimeSettings": {
"runtimeVersion": "3.1",
"appInsightsSettings": {
"isSupported": true
},
"remoteDebuggingSupported": false,
"gitHubActionSettings": {
"isSupported": true,
"supportedVersion": "3.1.301"
},
"appSettingsDictionary": {
"FUNCTIONS_WORKER_RUNTIME": "dotnet"
},
"siteConfigPropertiesDictionary": {
"use32BitWorkerProcess": true
},
"supportedFunctionsExtensionVersions": [
"~3"
]
},
"linuxRuntimeSettings": {
"runtimeVersion": "dotnet|3.1",
"appInsightsSettings": {
"isSupported": true
},
"remoteDebuggingSupported": false,
"gitHubActionSettings": {
"isSupported": true,
"supportedVersion": "3.1.301"
},
"appSettingsDictionary": {
"FUNCTIONS_WORKER_RUNTIME": "dotnet"
},
"siteConfigPropertiesDictionary": {
"use32BitWorkerProcess": false,
"linuxFxVersion": "dotnet|3.1"
},
"supportedFunctionsExtensionVersions": [
"~3"
]
}
}
}
]
},
{
"displayText": ".NET Core 2",
"value": "2",
"minorVersions": [
{
"displayText": ".NET Core 2.2",
"value": "2.2",
"stackSettings": {
"windowsRuntimeSettings": {
"runtimeVersion": "2.2",
"appInsightsSettings": {
"isSupported": true
},
"remoteDebuggingSupported": false,
"gitHubActionSettings": {
"isSupported": true,
"supportedVersion": "2.2.207"
},
"appSettingsDictionary": {
"FUNCTIONS_WORKER_RUNTIME": "dotnet"
},
"siteConfigPropertiesDictionary": {
"use32BitWorkerProcess": true
},
"supportedFunctionsExtensionVersions": [
"~2"
]
},
"linuxRuntimeSettings": {
"runtimeVersion": "dotnet|2.2",
"appInsightsSettings": {
"isSupported": true
},
"remoteDebuggingSupported": false,
"gitHubActionSettings": {
"isSupported": true,
"supportedVersion": "2.2.207"
},
"appSettingsDictionary": {
"FUNCTIONS_WORKER_RUNTIME": "dotnet"
},
"siteConfigPropertiesDictionary": {
"use32BitWorkerProcess": false,
"linuxFxVersion": "dotnet|2.2"
},
"supportedFunctionsExtensionVersions": [
"~2"
]
}
}
}
]
},
{
"displayText": ".NET Framework 4",
"value": "2",
"minorVersions": [
{
"displayText": ".NET Framework 4.7",
"value": "4.7",
"stackSettings": {
"windowsRuntimeSettings": {
"runtimeVersion": "4.7",
"remoteDebuggingSupported": false,
"appInsightsSettings": {
"isSupported": true
},
"gitHubActionSettings": {
"isSupported": false
},
"appSettingsDictionary": {},
"siteConfigPropertiesDictionary": {
"use32BitWorkerProcess": true
},
"supportedFunctionsExtensionVersions": [
"~1"
]
}
}
}
]
}
]
}
},
{
"id": "/providers/Microsoft.Web/functionAppStacks/node",
"name": "node",
"type": "Microsoft.Web/functionAppStacks",
"properties": {
"displayText": "Node.js",
"value": "node",
"preferredOs": "Windows",
"majorVersions": [
{
"displayText": "Node.js 14",
"value": "14",
"minorVersions": [
{
"displayText": "Node.js 14 LTS",
"value": "14 LTS",
"stackSettings": {
"windowsRuntimeSettings": {
"runtimeVersion": "~14",
"isPreview": true,
"isHidden": true,
"remoteDebuggingSupported": false,
"appInsightsSettings": {
"isSupported": true
},
"gitHubActionSettings": {
"isSupported": true,
"supportedVersion": "14.x"
},
"appSettingsDictionary": {
"FUNCTIONS_WORKER_RUNTIME": "node",
"WEBSITE_NODE_DEFAULT_VERSION": "~14"
},
"siteConfigPropertiesDictionary": {
"use32BitWorkerProcess": true
},
"supportedFunctionsExtensionVersions": [
"~3"
]
},
"linuxRuntimeSettings": {
"runtimeVersion": "Node|14",
"isPreview": true,
"isHidden": true,
"remoteDebuggingSupported": false,
"appInsightsSettings": {
"isSupported": true
},
"gitHubActionSettings": {
"isSupported": true,
"supportedVersion": "14.x"
},
"appSettingsDictionary": {
"FUNCTIONS_WORKER_RUNTIME": "node"
},
"siteConfigPropertiesDictionary": {
"use32BitWorkerProcess": false,
"linuxFxVersion": "Node|14"
},
"supportedFunctionsExtensionVersions": [
"~3"
]
}
}
}
]
},
{
"displayText": "Node.js 12",
"value": "12",
"minorVersions": [
{
"displayText": "Node.js 12 LTS",
"value": "12 LTS",
"stackSettings": {
"windowsRuntimeSettings": {
"runtimeVersion": "~12",
"remoteDebuggingSupported": false,
"appInsightsSettings": {
"isSupported": true
},
"gitHubActionSettings": {
"isSupported": true,
"supportedVersion": "12.x"
},
"appSettingsDictionary": {
"FUNCTIONS_WORKER_RUNTIME": "node",
"WEBSITE_NODE_DEFAULT_VERSION": "~12"
},
"siteConfigPropertiesDictionary": {
"use32BitWorkerProcess": true
},
"supportedFunctionsExtensionVersions": [
"~3"
]
},
"linuxRuntimeSettings": {
"runtimeVersion": "Node|12",
"remoteDebuggingSupported": false,
"appInsightsSettings": {
"isSupported": true
},
"gitHubActionSettings": {
"isSupported": true,
"supportedVersion": "12.x"
},
"appSettingsDictionary": {
"FUNCTIONS_WORKER_RUNTIME": "node"
},
"siteConfigPropertiesDictionary": {
"use32BitWorkerProcess": false,
"linuxFxVersion": "Node|12"
},
"supportedFunctionsExtensionVersions": [
"~3"
]
}
}
}
]
},
{
"displayText": "Node.js 10",
"value": "10",
"minorVersions": [
{
"displayText": "Node.js 10 LTS",
"value": "10 LTS",
"stackSettings": {
"windowsRuntimeSettings": {
"runtimeVersion": "~10",
"remoteDebuggingSupported": false,
"appInsightsSettings": {
"isSupported": true
},
"gitHubActionSettings": {
"isSupported": true,
"supportedVersion": "10.x"
},
"appSettingsDictionary": {
"FUNCTIONS_WORKER_RUNTIME": "node",
"WEBSITE_NODE_DEFAULT_VERSION": "~10"
},
"siteConfigPropertiesDictionary": {
"use32BitWorkerProcess": true
},
"supportedFunctionsExtensionVersions": [
"~2",
"~3"
]
},
"linuxRuntimeSettings": {
"runtimeVersion": "Node|10",
"remoteDebuggingSupported": false,
"appInsightsSettings": {
"isSupported": true
},
"gitHubActionSettings": {
"isSupported": true,
"supportedVersion": "10.x"
},
"appSettingsDictionary": {
"FUNCTIONS_WORKER_RUNTIME": "node"
},
"siteConfigPropertiesDictionary": {
"use32BitWorkerProcess": false,
"linuxFxVersion": "Node|10"
},
"supportedFunctionsExtensionVersions": [
"~2",
"~3"
]
}
}
}
]
},
{
"displayText": "Node.js 8",
"value": "8",
"minorVersions": [
{
"displayText": "Node.js 8 LTS",
"value": "8 LTS",
"stackSettings": {
"windowsRuntimeSettings": {
"runtimeVersion": "~8",
"remoteDebuggingSupported": false,
"appInsightsSettings": {
"isSupported": true
},
"gitHubActionSettings": {
"isSupported": true,
"supportedVersion": "8.x"
},
"appSettingsDictionary": {
"FUNCTIONS_WORKER_RUNTIME": "node",
"WEBSITE_NODE_DEFAULT_VERSION": "~8"
},
"siteConfigPropertiesDictionary": {
"use32BitWorkerProcess": true
},
"supportedFunctionsExtensionVersions": [
"~2"
]
}
}
}
]
},
{
"displayText": "Node.js 6",
"value": "6",
"minorVersions": [
{
"displayText": "Node.js 6 LTS",
"value": "6 LTS",
"stackSettings": {
"windowsRuntimeSettings": {
"runtimeVersion": "~6",
"remoteDebuggingSupported": false,
"appInsightsSettings": {
"isSupported": true
},
"gitHubActionSettings": {
"isSupported": false
},
"appSettingsDictionary": {
"WEBSITE_NODE_DEFAULT_VERSION": "~6"
},
"siteConfigPropertiesDictionary": {
"use32BitWorkerProcess": true
},
"supportedFunctionsExtensionVersions": [
"~1"
]
}
}
}
]
}
]
}
},
{
"id": "/providers/Microsoft.Web/functionAppStacks/python",
"name": "python",
"type": "Microsoft.Web/functionAppStacks",
"properties": {
"displayText": "Python",
"value": "python",
"preferredOs": "Linux",
"majorVersions": [
{
"displayText": "Python 3",
"value": "3",
"minorVersions": [
{
"displayText": "Python 3.8",
"value": "3.8",
"stackSettings": {
"linuxRuntimeSettings": {
"runtimeVersion": "Python|3.8",
"remoteDebuggingSupported": false,
"appInsightsSettings": {
"isSupported": true
},
"gitHubActionSettings": {
"isSupported": true,
"supportedVersion": "3.8"
},
"appSettingsDictionary": {
"FUNCTIONS_WORKER_RUNTIME": "python"
},
"siteConfigPropertiesDictionary": {
"use32BitWorkerProcess": false,
"linuxFxVersion": "Python|3.8"
},
"supportedFunctionsExtensionVersions": [
"~3"
]
}
}
},
{
"displayText": "Python 3.7",
"value": "3.7",
"stackSettings": {
"linuxRuntimeSettings": {
"runtimeVersion": "Python|3.7",
"remoteDebuggingSupported": false,
"appInsightsSettings": {
"isSupported": true
},
"gitHubActionSettings": {
"isSupported": true,
"supportedVersion": "3.7"
},
"appSettingsDictionary": {
"FUNCTIONS_WORKER_RUNTIME": "python"
},
"siteConfigPropertiesDictionary": {
"use32BitWorkerProcess": false,
"linuxFxVersion": "Python|3.7"
},
"supportedFunctionsExtensionVersions": [
"~2",
"~3"
]
}
}
},
{
"displayText": "Python 3.6",
"value": "3.6",
"stackSettings": {
"linuxRuntimeSettings": {
"runtimeVersion": "Python|3.6",
"remoteDebuggingSupported": false,
"appInsightsSettings": {
"isSupported": true
},
"gitHubActionSettings": {
"isSupported": true,
"supportedVersion": "3.6"
},
"appSettingsDictionary": {
"FUNCTIONS_WORKER_RUNTIME": "python"
},
"siteConfigPropertiesDictionary": {
"use32BitWorkerProcess": false,
"linuxFxVersion": "Python|3.6"
},
"supportedFunctionsExtensionVersions": [
"~2",
"~3"
]
}
}
}
]
}
]
}
},
{
"id": "/providers/Microsoft.Web/functionAppStacks/java",
"name": "java",
"type": "Microsoft.Web/functionAppStacks",
"properties": {
"displayText": "Java",
"value": "java",
"preferredOs": "Windows",
"majorVersions": [
{
"displayText": "Java 11",
"value": "11",
"minorVersions": [
{
"displayText": "Java 11",
"value": "11.0",
"stackSettings": {
"windowsRuntimeSettings": {
"runtimeVersion": "11",
"isAutoUpdate": true,
"remoteDebuggingSupported": false,
"appInsightsSettings": {
"isSupported": true
},
"gitHubActionSettings": {
"isSupported": true,
"supportedVersion": "11"
},
"appSettingsDictionary": {
"FUNCTIONS_WORKER_RUNTIME": "java"
},
"siteConfigPropertiesDictionary": {
"use32BitWorkerProcess": true,
"javaVersion": "11"
},
"supportedFunctionsExtensionVersions": [
"~3"
]
},
"linuxRuntimeSettings": {
"runtimeVersion": "Java|11",
"isAutoUpdate": true,
"remoteDebuggingSupported": false,
"appInsightsSettings": {
"isSupported": true
},
"gitHubActionSettings": {
"isSupported": true,
"supportedVersion": "11"
},
"appSettingsDictionary": {
"FUNCTIONS_WORKER_RUNTIME": "java"
},
"siteConfigPropertiesDictionary": {
"use32BitWorkerProcess": false,
"linuxFxVersion": "Java|11"
},
"supportedFunctionsExtensionVersions": [
"~3"
]
}
}
}
]
},
{
"displayText": "Java 8",
"value": "8",
"minorVersions": [
{
"displayText": "Java 8",
"value": "8.0",
"stackSettings": {
"windowsRuntimeSettings": {
"runtimeVersion": "1.8",
"isAutoUpdate": true,
"isDefault": true,
"remoteDebuggingSupported": false,
"appInsightsSettings": {
"isSupported": true
},
"gitHubActionSettings": {
"isSupported": true,
"supportedVersion": "8"
},
"appSettingsDictionary": {
"FUNCTIONS_WORKER_RUNTIME": "java"
},
"siteConfigPropertiesDictionary": {
"use32BitWorkerProcess": true,
"javaVersion": "1.8"
},
"supportedFunctionsExtensionVersions": [
"~2",
"~3"
]
},
"linuxRuntimeSettings": {
"runtimeVersion": "Java|8",
"isAutoUpdate": true,
"isDefault": true,
"remoteDebuggingSupported": false,
"appInsightsSettings": {
"isSupported": true
},
"gitHubActionSettings": {
"isSupported": true,
"supportedVersion": "8"
},
"appSettingsDictionary": {
"FUNCTIONS_WORKER_RUNTIME": "java"
},
"siteConfigPropertiesDictionary": {
"use32BitWorkerProcess": false,
"linuxFxVersion": "Java|8"
},
"supportedFunctionsExtensionVersions": [
"~3"
]
}
}
}
]
}
]
}
},
{
"id": "/providers/Microsoft.Web/functionAppStacks/powershell",
"name": "powershell",
"type": "Microsoft.Web/functionAppStacks",
"properties": {
"displayText": "PowerShell Core",
"value": "powershell",
"preferredOs": "Windows",
"majorVersions": [
{
"displayText": "PowerShell 7",
"value": "7",
"minorVersions": [
{
"displayText": "PowerShell 7.0",
"value": "7.0",
"stackSettings": {
"windowsRuntimeSettings": {
"runtimeVersion": "~7",
"remoteDebuggingSupported": false,
"appInsightsSettings": {
"isSupported": true
},
"gitHubActionSettings": {
"isSupported": false
},
"appSettingsDictionary": {
"FUNCTIONS_WORKER_RUNTIME": "powershell"
},
"siteConfigPropertiesDictionary": {
"use32BitWorkerProcess": true,
"powerShellVersion": "~7"
},
"supportedFunctionsExtensionVersions": [
"~3"
]
}
}
}
]
},
{
"displayText": "PowerShell Core 6",
"value": "6",
"minorVersions": [
{
"displayText": "PowerShell Core 6.2",
"value": "6.2",
"stackSettings": {
"windowsRuntimeSettings": {
"runtimeVersion": "~6",
"remoteDebuggingSupported": false,
"appInsightsSettings": {
"isSupported": true
},
"gitHubActionSettings": {
"isSupported": false
},
"appSettingsDictionary": {
"FUNCTIONS_WORKER_RUNTIME": "powershell"
},
"siteConfigPropertiesDictionary": {
"use32BitWorkerProcess": true,
"powerShellVersion": "~6"
},
"isDeprecated": true,
"supportedFunctionsExtensionVersions": [
"~2",
"~3"
],
"endOfLifeDate": "2020-10-04T00:00:00+00:00"
}
}
}
]
}
]
}
},
{
"id": "/providers/Microsoft.Web/functionAppStacks/custom",
"name": "custom",
"type": "Microsoft.Web/functionAppStacks",
"properties": {
"displayText": "Custom",
"value": "custom",
"preferredOs": "Windows",
"majorVersions": [
{
"displayText": "Custom",
"value": "custom",
"minorVersions": [
{
"displayText": "Custom Handler",
"value": "custom",
"stackSettings": {
"windowsRuntimeSettings": {
"runtimeVersion": "custom",
"isPreview": true,
"appInsightsSettings": {
"isSupported": true
},
"remoteDebuggingSupported": false,
"gitHubActionSettings": {
"isSupported": false
},
"appSettingsDictionary": {
"FUNCTIONS_WORKER_RUNTIME": "custom"
},
"siteConfigPropertiesDictionary": {
"use32BitWorkerProcess": true
},
"supportedFunctionsExtensionVersions": [
"~3",
"~2"
]
},
"linuxRuntimeSettings": {
"runtimeVersion": "",
"isPreview": true,
"appInsightsSettings": {
"isSupported": true
},
"remoteDebuggingSupported": false,
"gitHubActionSettings": {
"isSupported": false
},
"appSettingsDictionary": {
"FUNCTIONS_WORKER_RUNTIME": "custom"
},
"siteConfigPropertiesDictionary": {
"use32BitWorkerProcess": false,
"linuxFxVersion": ""
},
"supportedFunctionsExtensionVersions": [
"~3",
"~2"
]
}
}
}
]
}
]
}
}
]
}
Definitions
Name | Description |
---|---|
App |
App Insights Web App stack settings. |
Default |
App Service error response. |
Details | |
Error |
Error model. |
Function |
Function App stack major version. |
Function |
Function App stack minor version. |
Function |
Function App stack runtimes. |
Function |
Function App runtime settings. |
Function |
Function App Stack. |
Function |
Collection of Function app Stacks |
Git |
GitHub Actions Web App stack settings. |
Provider |
Stack OS Type |
Site |
Site config properties dictionary. |
Stack |
Function App stack preferred OS. |
AppInsightsWebAppStackSettings
App Insights Web App stack settings.
Name | Type | Description |
---|---|---|
isDefaultOff |
boolean |
|
isSupported |
boolean |
|
DefaultErrorResponse
App Service error response.
Name | Type | Description |
---|---|---|
error |
Error model. |
Details
Name | Type | Description |
---|---|---|
code |
string |
Standardized string to programmatically identify the error. |
message |
string |
Detailed error description and debugging information. |
target |
string |
Detailed error description and debugging information. |
Error
Error model.
Name | Type | Description |
---|---|---|
code |
string |
Standardized string to programmatically identify the error. |
details |
Details[] |
Detailed errors. |
innererror |
string |
More information to debug error. |
message |
string |
Detailed error description and debugging information. |
target |
string |
Detailed error description and debugging information. |
FunctionAppMajorVersion
Function App stack major version.
Name | Type | Description |
---|---|---|
displayText |
string |
Function App stack major version (display only). |
minorVersions |
Minor versions associated with the major version. |
|
value |
string |
Function App stack major version name. |
FunctionAppMinorVersion
Function App stack minor version.
Name | Type | Description |
---|---|---|
displayText |
string |
Function App stack (display only). |
stackSettings |
Settings associated with the minor version. |
|
value |
string |
Function App stack name. |
FunctionAppRuntimes
Function App stack runtimes.
Name | Type | Description |
---|---|---|
linuxRuntimeSettings |
Linux-specific settings associated with the minor version. |
|
windowsRuntimeSettings |
Windows-specific settings associated with the minor version. |
FunctionAppRuntimeSettings
Function App runtime settings.
Name | Type | Description |
---|---|---|
appInsightsSettings |
Application Insights settings associated with the minor version. |
|
appSettingsDictionary |
object |
Application settings associated with the minor version. |
endOfLifeDate |
string |
End-of-life date for the minor version. |
gitHubActionSettings |
GitHub Actions settings associated with the minor version. |
|
isAutoUpdate |
boolean |
|
isDefault |
boolean |
|
isDeprecated |
boolean |
|
isEarlyAccess |
boolean |
|
isHidden |
boolean |
|
isPreview |
boolean |
|
remoteDebuggingSupported |
boolean |
|
runtimeVersion |
string |
Function App stack minor version (runtime only). |
siteConfigPropertiesDictionary |
Configuration settings associated with the minor version. |
|
supportedFunctionsExtensionVersions |
string[] |
List of supported Functions extension versions. |
FunctionAppStack
Function App Stack.
Name | Type | Description |
---|---|---|
id |
string |
Resource Id. |
kind |
string |
Kind of resource. |
location |
string |
Function App stack location. |
name |
string |
Resource Name. |
properties.displayText |
string |
Function App stack (display only). |
properties.majorVersions |
List of major versions available. |
|
properties.preferredOs |
Function App stack preferred OS. |
|
properties.value |
string |
Function App stack name. |
type |
string |
Resource type. |
FunctionAppStackCollection
Collection of Function app Stacks
Name | Type | Description |
---|---|---|
nextLink |
string |
Link to next page of resources. |
value |
Collection of resources. |
GitHubActionWebAppStackSettings
GitHub Actions Web App stack settings.
Name | Type | Description |
---|---|---|
isSupported |
boolean |
|
supportedVersion |
string |
The minor version that is supported for GitHub Actions. |
ProviderStackOsType
Stack OS Type
Name | Type | Description |
---|---|---|
All |
string |
|
Linux |
string |
|
Windows |
string |
SiteConfigPropertiesDictionary
Site config properties dictionary.
Name | Type | Description |
---|---|---|
javaVersion |
string |
JavaVersion configuration setting. |
linuxFxVersion |
string |
LinuxFxVersion configuration setting. |
powerShellVersion |
string |
PowerShellVersion configuration setting. |
use32BitWorkerProcess |
boolean |
|
StackPreferredOs
Function App stack preferred OS.
Name | Type | Description |
---|---|---|
Linux |
string |
|
Windows |
string |