Get-AzFunctionAppFlexConsumptionRuntime
Gets the Flex Consumption function app runtimes supported at the specified location.
Syntax
AllRuntimes (Default)
Get-AzFunctionAppFlexConsumptionRuntime
-Location <String>
[-SubscriptionId <String>]
[<CommonParameters>]
AllVersions
Get-AzFunctionAppFlexConsumptionRuntime
-Location <String>
-Runtime <String>
[-SubscriptionId <String>]
[<CommonParameters>]
ByVersion
Get-AzFunctionAppFlexConsumptionRuntime
-Location <String>
-Runtime <String>
-Version <String>
[-SubscriptionId <String>]
[<CommonParameters>]
DefaultOrLatest
Get-AzFunctionAppFlexConsumptionRuntime
-Location <String>
-Runtime <String>
[-SubscriptionId <String>]
[-DefaultOrLatest]
[<CommonParameters>]
Description
Gets the Flex Consumption function app runtimes supported at the specified location.
Examples
Example 1: Get all supported runtimes for Flex Consumption in a specific location.
Get-AzFunctionAppFlexConsumptionRuntime -Location 'East Asia'
Name Version IsDefault EndOfLifeDate Sku
---- ------- --------- ------------- ---
dotnet-isolated 10.0 False 11/9/2028 @{skuCode=FC1; instanceMemoryMB=System.Object[]; maximumInstanceCount=; functionAppConfigProperties=}
dotnet-isolated 9.0 False 5/11/2026 @{skuCode=FC1; instanceMemoryMB=System.Object[]; maximumInstanceCount=; functionAppConfigProperties=}
dotnet-isolated 8.0 True 11/9/2026 @{skuCode=FC1; instanceMemoryMB=System.Object[]; maximumInstanceCount=; functionAppConfigProperties=}
node 22 True 4/29/2027 @{skuCode=FC1; instanceMemoryMB=System.Object[]; maximumInstanceCount=; functionAppConfigProperties=}
node 20 False 4/29/2026 @{skuCode=FC1; instanceMemoryMB=System.Object[]; maximumInstanceCount=; functionAppConfigProperties=}
java 21 False 8/31/2028 @{skuCode=FC1; instanceMemoryMB=System.Object[]; maximumInstanceCount=; functionAppConfigProperties=}
java 17 True 8/31/2027 @{skuCode=FC1; instanceMemoryMB=System.Object[]; maximumInstanceCount=; functionAppConfigProperties=}
powershell 7.4 True 11/9/2026 @{skuCode=FC1; instanceMemoryMB=System.Object[]; maximumInstanceCount=; functionAppConfigProperties=}
python 3.13 False 10/30/2029 @{skuCode=FC1; instanceMemoryMB=System.Object[]; maximumInstanceCount=; functionAppConfigProperties=}
python 3.12 True 10/30/2028 @{skuCode=FC1; instanceMemoryMB=System.Object[]; maximumInstanceCount=; functionAppConfigProperties=}
python 3.11 True 10/30/2027 @{skuCode=FC1; instanceMemoryMB=System.Object[]; maximumInstanceCount=; functionAppConfigProperties=}
python 3.10 True 10/30/2026 @{skuCode=FC1; instanceMemoryMB=System.Object[]; maximumInstanceCount=; functionAppConfigProperties=}
custom 1.0 False @{skuCode=FC1; instanceMemoryMB=System.Object[]; maximumInstanceCount=; functionAppConfigProperties=}
This command retrieves all available runtimes and their versions for Flex Consumption function apps in the East Asia region. Supported runtimes include: dotnet-isolated, node, java, powershell, python, and custom.
Example 2: Get all supported versions for a specific runtime.
Get-AzFunctionAppFlexConsumptionRuntime -Location 'East Asia' -Runtime Python
Name Version IsDefault EndOfLifeDate Sku
---- ------- --------- ------------- ---
python 3.13 False 10/30/2029 @{skuCode=FC1; instanceMemoryMB=System.Object[]; maximumInstanceCount=; functionAppConfigProperties=}
python 3.12 True 10/30/2028 @{skuCode=FC1; instanceMemoryMB=System.Object[]; maximumInstanceCount=; functionAppConfigProperties=}
python 3.11 True 10/30/2027 @{skuCode=FC1; instanceMemoryMB=System.Object[]; maximumInstanceCount=; functionAppConfigProperties=}
python 3.10 True 10/30/2026 @{skuCode=FC1; instanceMemoryMB=System.Object[]; maximumInstanceCount=; functionAppConfigProperties=}
This command retrieves all supported Python versions for Flex Consumption function apps in the East Asia region.
Example 3: Get the default or latest runtime version for PowerShell.
Get-AzFunctionAppFlexConsumptionRuntime -Location 'east asia' -Runtime PowerShell -DefaultOrLatest
Name Version IsDefault EndOfLifeDate Sku
---- ------- --------- ------------- ---
python 3.12 True 10/30/2028 @{skuCode=FC1; instanceMemoryMB=System.Object[]; maximumInstanceCount=; functionAppConfigProperties=}
This command retrieves the default PowerShell version for Flex Consumption function apps in the East Asia region. Use this parameter when you need to determine the default runtime version that will be used if no specific version is provided during function app creation.
Example 4: Get a specific runtime version.
Get-AzFunctionAppFlexConsumptionRuntime -Location 'East Asia' -Runtime Python -Version 3.12
Name Version IsDefault EndOfLifeDate Sku
---- ------- --------- ------------- ---
python 3.12 True 10/30/2028 @{skuCode=FC1; instanceMemoryMB=System.Object[]; maximumInstanceCount=; functionAppConfigProperties=}
This command validates that Python 3.12 is supported for Flex Consumption function apps in the East Asia region and retrieves its details.
Parameters
-DefaultOrLatest
Get the default or latest version of the specified runtime.
Parameter properties
| Type: | SwitchParameter |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
DefaultOrLatest
| Position: | Named |
| Mandatory: | True |
| Value from pipeline: | False |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
-Location
The location where Flex Consumption function apps are supported.
Parameter properties
| Type: | String |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
(All)
| Position: | Named |
| Mandatory: | True |
| Value from pipeline: | False |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
-Runtime
The Flex Consumption function app runtime.
Parameter properties
| Type: | String |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
AllVersions
| Position: | Named |
| Mandatory: | True |
| Value from pipeline: | False |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
ByVersion
| Position: | Named |
| Mandatory: | True |
| Value from pipeline: | False |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
DefaultOrLatest
| Position: | Named |
| Mandatory: | True |
| Value from pipeline: | False |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
-SubscriptionId
The Azure subscription ID.
Parameter properties
| Type: | String |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
(All)
| Position: | Named |
| Mandatory: | False |
| Value from pipeline: | False |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
-Version
The function app runtime version.
Parameter properties
| Type: | String |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
ByVersion
| Position: | Named |
| Mandatory: | True |
| Value from pipeline: | False |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.