Provider - Get Available Stacks

Description for Get available application frameworks and their versions

GET https://management.azure.com/providers/Microsoft.Web/availableStacks?api-version=2023-01-01
GET https://management.azure.com/providers/Microsoft.Web/availableStacks?osTypeSelected={osTypeSelected}&api-version=2023-01-01

URI Parameters

Name In Required Type Description
api-version
query True

string

API Version

osTypeSelected
query

ProviderOsTypeSelected

Responses

Name Type Description
200 OK

ApplicationStackCollection

OK

Other Status Codes

DefaultErrorResponse

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

Definitions

Name Description
ApplicationStack

Application stack.

ApplicationStackCollection

Collection of Application Stacks

ApplicationStackResource

ARM resource for a ApplicationStack.

DefaultErrorResponse

App Service error response.

Details
Error

Error model.

ProviderOsTypeSelected
StackMajorVersion

Application stack major version.

StackMinorVersion

Application stack minor version.

ApplicationStack

Application stack.

Name Type Description
dependency

string

Application stack dependency.

display

string

Application stack display name.

frameworks

ApplicationStack[]

List of frameworks associated with application stack.

isDeprecated

ApplicationStack[]

true if this is the stack is deprecated; otherwise, false.

majorVersions

StackMajorVersion[]

List of major versions available.

name

string

Application stack name.

ApplicationStackCollection

Collection of Application Stacks

Name Type Description
nextLink

string

Link to next page of resources.

value

ApplicationStackResource[]

Collection of resources.

ApplicationStackResource

ARM resource for a ApplicationStack.

Name Type Description
id

string

Resource Id.

kind

string

Kind of resource.

name

string

Resource Name.

properties.dependency

string

Application stack dependency.

properties.display

string

Application stack display name.

properties.frameworks

ApplicationStack[]

List of frameworks associated with application stack.

properties.isDeprecated

ApplicationStack[]

true if this is the stack is deprecated; otherwise, false.

properties.majorVersions

StackMajorVersion[]

List of major versions available.

properties.name

string

Application stack name.

type

string

Resource type.

DefaultErrorResponse

App Service error response.

Name Type Description
error

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.

ProviderOsTypeSelected

Name Type Description
All

string

Linux

string

LinuxFunctions

string

Windows

string

WindowsFunctions

string

StackMajorVersion

Application stack major version.

Name Type Description
appSettingsDictionary

object

Example: All the function apps need AppSetting: "FUNCTIONS_WORKER_RUNTIME" to be set stack name
applicationInsights

boolean

true if this supports Application Insights; otherwise, false.

displayVersion

string

Application stack major version (display only).

isDefault

boolean

true if this is the default major version; otherwise, false.

isDeprecated

boolean

true if this stack has been deprecated, otherwise false.

isHidden

boolean

true if this stack should be hidden for new customers on portal, otherwise false.

isPreview

boolean

true if this stack is in Preview, otherwise false.

minorVersions

StackMinorVersion[]

Minor versions associated with the major version.

runtimeVersion

string

Application stack major version (runtime only).

siteConfigPropertiesDictionary

object

Example: All Linux Function Apps, need Use32BitWorkerProcess to be set to 0

StackMinorVersion

Application stack minor version.

Name Type Description
displayVersion

string

Application stack minor version (display only).

isDefault

boolean

true if this is the default minor version; otherwise, false.

isRemoteDebuggingEnabled

boolean

true if this supports Remote Debugging, otherwise false.

runtimeVersion

string

Application stack minor version (runtime only).