Share via


Get-PartnerCustomerSubscriptionResourceUsage

Gets the subscription's resource usage records.

Syntax

Default (Default)

Get-PartnerCustomerSubscriptionResourceUsage
    -CustomerId <String>
    -SubscriptionId <String>
    [<CommonParameters>]

Description

Gets the subscription's resource usage records.

Examples

Example 1

PS C:\> Get-PartnerCustomerSubscriptionResourceUsage -CustomerId '87045e4b-ab69-4a8f-875a-af020b383bc6' -SubscriptionId 'aaaa0a0a-bb1b-cc2c-dd3d-eeeeee4e4e4e'

Gets the subscription's resource usage records.

Parameters

-CustomerId

The identifier of the customer.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-SubscriptionId

The identifier of the subscription.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Inputs

None

Outputs

Microsoft.Store.PartnerCenter.PowerShell.Models.Usage.PSResourceUsageRecord