Bewerken

Delen via


Get-AzContainerAppBillingMeter

Get all billingMeters for a location.

Syntax

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

Description

Get all billingMeters for a location.

Examples

Example 1: Get all billingMeters for a location.

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

Get all billingMeters for a location.

Parameters

-DefaultProfile

The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.

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

-InputObject

Identity Parameter

Type:IAppIdentity
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-Location

The name of Azure region.

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

-SubscriptionId

The ID of the target subscription.

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

Inputs

IAppIdentity

Outputs

IBillingMeterCollection