Get-AzFunctionAppPlan
取得訂用帳戶中的函式應用程式方案。
語法
Get-AzFunctionAppPlan
[-SubscriptionId <String[]>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzFunctionAppPlan
[-SubscriptionId <String[]>]
-Location <String>
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzFunctionAppPlan
[-SubscriptionId <String[]>]
-ResourceGroupName <String>
-Name <String>
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzFunctionAppPlan
[-SubscriptionId <String[]>]
[-ResourceGroupName <String>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Description
取得訂用帳戶中的函式應用程式方案。
範例
範例 1:取得所有函式應用程式方案。
Get-AzFunctionAppPlan
Name WorkerType SkuTier SkuName Location ResourceGroupName SubscriptionId
---- ---------- ------- ------- -------- ----------------- --------------
Func99-West-Europe-Linux-Premium Linux ElasticPremium EP1 West Europe Func99-West-Europe-Linux-Premium fe16564a-d943-4bf8-8c28-cf01708c3f8b
Func99-West-Europe-Windows-Premium Windows ElasticPremium EP1 West Europe Func99-West-Europe-Win-Premium fe16564a-d943-4bf8-8c28-cf01708c3f8b
Func99-Windows-Premium1680894595 Windows ElasticPremium EP1 West Europe Func99-West-Europe-Win-Premium fe16564a-d943-4bf8-8c28-cf01708c3f8b
Func99-Windows-Premium428118799 Windows ElasticPremium EP1 West Europe Func99-West-Europe-Win-Premium fe16564a-d943-4bf8-8c28-cf01708c3f8b
Func99-Windows-Premium677505437 Windows ElasticPremium EP1 West Europe Func99-West-Europe-Win-Premium fe16564a-d943-4bf8-8c28-cf01708c3f8b
Func99-Windows-Premium711892854 Windows ElasticPremium EP1 West Europe Func99-West-Europe-Win-Premium fe16564a-d943-4bf8-8c28-cf01708c3f8b
Func99-Windows-Premium819994758 Windows ElasticPremium EP1 West Europe Func99-West-Europe-Win-Premium fe16564a-d943-4bf8-8c28-cf01708c3f8b
此命令會取得所有函式應用程式計畫。
範例 2:依資源組名取得函式應用程式計劃。
Get-AzFunctionAppPlan -ResourceGroupName "West Europe"
Name WorkerType SkuTier SkuName Location ResourceGroupName SubscriptionId
---- ---------- ------- ------- -------- ----------------- --------------
Func99-West-Europe-Linux-Premium Linux ElasticPremium EP1 West Europe Func99-West-Europe-Linux-Premium fe16564a-d943-4bf8-8c28-cf01708c3f8b
Func99-West-Europe-Windows-Premium Windows ElasticPremium EP1 West Europe Func99-West-Europe-Win-Premium fe16564a-d943-4bf8-8c28-cf01708c3f8b
Func99-Windows-Premium1680894595 Windows ElasticPremium EP1 West Europe Func99-West-Europe-Win-Premium fe16564a-d943-4bf8-8c28-cf01708c3f8b
此命令會依資源組名取得函式應用程式計劃。
範例 3:取得指定訂用帳戶的函式應用程式方案。
Get-AzFunctionAppPlan -SubscriptionId fe16564a-d943-4bf8-8c28-cf01708c3f8z
Name WorkerType SkuTier SkuName Location ResourceGroupName SubscriptionId
---- ---------- ------- ------- -------- ----------------- --------------
Func99-West-Europe-Windows-Premium Windows ElasticPremium EP1 West Europe Func99-West-Europe-Win-Premium fe16564a-d943-4bf8-8c28-cf01708c3f8z
此命令會取得指定訂用帳戶的函式應用程式方案。
範例 4:依位置取得函式應用程式方案。
Get-AzFunctionAppPlan -Location "Central US"
Name WorkerType SkuTier SkuName Location ResourceGroupName SubscriptionId
---- ---------- ------- ------- -------- ----------------- --------------
Func99-West-Europe-Windows-Premium Windows ElasticPremium EP1 Central US Func99-West-Europe-Win-Premium 3r16564a-d943-4bf8-8c28-cf01708c3f8b
此命令會依位置取得函式應用程式計劃。
參數
-DefaultProfile
用於與 Azure 通訊的認證、帳戶、租用戶和訂用帳戶。
類型: | PSObject |
別名: | AzureRMContext, AzureCredential |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-Location
函式應用程式方案的位置。
類型: | String |
Position: | Named |
預設值: | None |
必要: | True |
接受管線輸入: | False |
接受萬用字元: | False |
-Name
服務方案名稱。
類型: | String |
Position: | Named |
預設值: | None |
必要: | True |
接受管線輸入: | False |
接受萬用字元: | False |
-ResourceGroupName
資源群組的名稱。
類型: | String |
Position: | Named |
預設值: | None |
必要: | True |
接受管線輸入: | False |
接受萬用字元: | False |
-SubscriptionId
Azure 訂用帳戶標識碼。
類型: | String[] |
Position: | Named |
預設值: | (Get-AzContext).Subscription.Id |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |