Get-AzFunctionAppAvailableLocation

Gets the location where a function app for the given os and plan type is available.

Syntax

Get-AzFunctionAppAvailableLocation
   [[-SubscriptionId] <String[]>]
   [[-PlanType] <String>]
   [[-OSType] <String>]
   [[-DefaultProfile] <PSObject>]
   [<CommonParameters>]

Description

Gets the location where a function app for the given os and plan type is available.

Examples

Example 1: Get the locations where Premium is available for Windows. If no parameters are specified, PlanType is set to 'Premium' and OSType is set to 'Windows'.

PS C:\> Get-AzFunctionAppAvailableLocation

Name
----
Central US
North Europe
West Europe
Southeast Asia
East Asia
West US
East US
Japan West
Japan East
East US 2
North Central US
South Central US
Brazil South
Australia East
Australia Southeast
East Asia (Stage)
West India
South India
Canada Central
West US 2
UK West
UK South
East US 2 EUAP
Central US EUAP
Korea Central
France Central
Australia Central 2
Australia Central
Germany West Central
Norway East

This command gets the locations where Premium is available for Windows.

Example 2: Get the locations where Premium is available for Linux.

PS C:\> Get-AzFunctionAppAvailableLocation -PlanType Premium -OSType Linux

Name
----
Central US
North Europe
West Europe
Southeast Asia
East Asia
West US
East US
Japan West
Japan East
East US 2
North Central US
South Central US
Brazil South
Australia East
Australia Southeast
West India
Canada Central
West Central US
West US 2
UK West
UK South
Central US EUAP
Korea Central
France Central
Norway East

This command gets the locations where Premium is available for Linux.

Example 3: Get the locations where Consumption is available for Windows.

PS C:\> Get-AzFunctionAppAvailableLocation -PlanType Consumption -OSType Windows

Name
----
Central US
North Europe
West Europe
Southeast Asia
East Asia
West US
East US
Japan West
Japan East
East US 2
North Central US
South Central US
Brazil South
Australia East
Australia Southeast
East Asia (Stage)
Central India
West India
South India
Canada Central
Canada East
West Central US
West US 2
UK West
UK South
East US 2 EUAP
Central US EUAP
Korea Central
France Central
Australia Central 2
Australia Central
South Africa North
Switzerland North
Germany West Central

This command gets the locations where Consumption is available for Windows.

Parameters

-DefaultProfile

The credentials, account, tenant, and subscription used for communication with Azure.

Type:PSObject
Aliases:AzureRMContext, AzureCredential
Position:3
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-OSType

The OS type for the service plan.

Type:String
Position:2
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-PlanType

The plan type. Valid inputs: Consumption or Premium

Type:String
Position:1
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-SubscriptionId

The Azure subscription ID.

Type:String[]
Position:0
Default value:(Get-AzContext).Subscription.Id
Accept pipeline input:False
Accept wildcard characters:False

Outputs

Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IGeoRegion

Notes

ALIASES