Sdílet prostřednictvím


Get-AzFunctionAppAvailableLocation

Získá umístění, kde je k dispozici aplikace funkcí pro daný operační systém a typ plánu.

Syntax

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

Description

Získá umístění, kde je k dispozici aplikace funkcí pro daný operační systém a typ plánu.

Příklady

Příklad 1: Získejte umístění, kde je pro Windows dostupná úroveň Premium. Pokud nejsou zadány žádné parametry, planType je nastaven na Premium a OSType je nastaven na Windows.

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

Tento příkaz získá umístění, kde je pro Windows k dispozici Premium.

Příklad 2: Získejte umístění, kde je pro Linux k dispozici Premium.

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

Tento příkaz získá umístění, kde je pro Linux k dispozici Premium.

Příklad 3: Získejte umístění, kde je pro Windows dostupná spotřeba.

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

Tento příkaz získá umístění, kde je pro Windows dostupná spotřeba.

Parametry

-DefaultProfile

Přihlašovací údaje, účet, tenant a předplatné používané ke komunikaci s Azure.

Type:PSObject
Aliases:AzureRMContext, AzureCredential
Position:4
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-OSType

Typ operačního systému pro plán služby.

Type:String
Position:3
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-PlanType

Typ plánu. Platné vstupy: Spotřeba nebo Premium

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

-SubscriptionId

ID předplatného Azure.

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

Výstupy

IGeoRegion