Get-AzsSubscriberUsage

Get usage data from during the specified timespan.

Syntax

Get-AzsSubscriberUsage
   [[-SubscriberId] <String>]
   [-ReportedStartTime] <DateTime>
   [[-AggregationGranularity] <String>]
   [[-Skip] <Int32>]
   [-ReportedEndTime] <DateTime>
   [[-ContinuationToken] <String>]
   [[-Top] <Int32>]
   [<CommonParameters>]

Description

Get usage data from during the specified timespan.

Examples

EXAMPLE 1

Get-AzsSubscriberUsage -ReportedStartTime "2017-09-06T00:00:00Z" -ReportedEndTime "2017-09-07T00:00:00Z"

Get usage data from the last 24 hours.

Parameters

-AggregationGranularity

The aggregation granularity.

Type:String
Position:3
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-ContinuationToken

The continuation token.

Type:String
Position:6
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-ReportedEndTime

The reported end time (exclusive).

Type:DateTime
Position:5
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-ReportedStartTime

The reported start time (inclusive).

Type:DateTime
Position:2
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Skip

Skip the first N items as specified by the parameter value.

Type:Int32
Position:4
Default value:-1
Accept pipeline input:False
Accept wildcard characters:False
-SubscriberId

The tenant subscription identifier.

Type:String
Position:1
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Top

Return the top N items as specified by the parameter value. Applies after the -Skip parameter.

Type:Int32
Position:7
Default value:-1
Accept pipeline input:False
Accept wildcard characters:False

Outputs

Microsoft.AzureStack.Management.Commerce.Admin.Models.UsageAggregate