共用方式為


Get-AzContainerAppBillingMeter

取得位置的所有 billingMeters。

語法

Get-AzContainerAppBillingMeter
   -Location <String>
   [-SubscriptionId <String[]>]
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]
Get-AzContainerAppBillingMeter
   -InputObject <IAppIdentity>
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]

Description

取得位置的所有 billingMeters。

範例

範例 1:取得位置的所有 billingMeters。

Get-AzContainerAppBillingMeter -Location eastus

Name        Location
----        --------
D4          East US
D4          East US
D4          East US
D8          East US
D8          East US
D8          East US
D16         East US
D16         East US
D16         East US
D32         East US
D32         East US
D32         East US
E4          East US
E4          East US
E4          East US
E8          East US
E8          East US
E8          East US
E16         East US
E16         East US
E16         East US
E32         East US
E32         East US
E32         East US
Consumption East US
Consumption East US
Consumption East US

取得位置的所有 billingMeters。

參數

-DefaultProfile

DefaultProfile 參數無法運作。 如果針對不同的訂用帳戶執行 Cmdlet,請使用 SubscriptionId 參數。

類型:PSObject
別名:AzureRMContext, AzureCredential
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

-InputObject

Identity 參數

類型:IAppIdentity
Position:Named
預設值:None
必要:True
接受管線輸入:True
接受萬用字元:False

-Location

Azure 區域的名稱。

類型:String
Position:Named
預設值:None
必要:True
接受管線輸入:False
接受萬用字元:False

-SubscriptionId

目標訂用帳戶的標識碼。

類型:String[]
Position:Named
預設值:(Get-AzContext).Subscription.Id
必要:False
接受管線輸入:False
接受萬用字元:False

輸入

IAppIdentity

輸出

IBillingMeterCollection