Get-AzFunctionAppAvailableLocation
取得指定 os 和方案類型的函式應用程式可供使用的位置。
語法
Get-AzFunctionAppAvailableLocation
[[-SubscriptionId] <String[]>]
[[-PlanType] <String>]
[[-OSType] <String>]
[[-DefaultProfile] <PSObject>]
[<CommonParameters>]
Description
取得指定 os 和方案類型的函式應用程式可供使用的位置。
範例
範例 1:取得適用於 Windows 的 Premium 位置。 如果未指定任何參數,PlanType 會設定為 『Premium』,而 OSType 會設定為 『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
此命令會取得適用於 Windows 的 Premium 位置。
範例 2:取得適用於 Linux 的 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
此命令會取得適用於Linux的 Premium 位置。
範例 3:取得可供 Windows 使用的位置。
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
此命令會取得可供 Windows 使用的位置。
參數
-DefaultProfile
用於與 Azure 通訊的認證、帳戶、租用戶和訂用帳戶。
類型: | PSObject |
別名: | AzureRMContext, AzureCredential |
Position: | 4 |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-OSType
服務方案的OS類型。
類型: | String |
Position: | 3 |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-PlanType
方案類型。 有效輸入:耗用量或進階
類型: | String |
Position: | 2 |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-SubscriptionId
Azure 訂用帳戶標識碼。
類型: | String[] |
Position: | 1 |
預設值: | (Get-AzContext).Subscription.Id |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |