< Back
Get-AzureRmConsumptionUsageDetail
Post
NAME Get-AzureRmConsumptionUsageDetail
SYNOPSIS
Get usage details of the subscription.
SYNTAX
Get-AzureRmConsumptionUsageDetail -BillingPeriodName <String> [-DefaultProfile <IAzureContextContainer>] [-EndDate <DateTime>]
[-IncludeAdditionalProperties] [-IncludeMeterDetails] [-MaxCount <Int32>] [-StartDate <DateTime>] [<CommonParameters>]
Get-AzureRmConsumptionUsageDetail [-DefaultProfile <IAzureContextContainer>] [-EndDate <DateTime>] [-IncludeAdditionalProperties]
[-IncludeMeterDetails] -InvoiceName <String> [-MaxCount <Int32>] [-StartDate <DateTime>] [<CommonParameters>]
DESCRIPTION
The Get-AzureRmConsumptionUsageDetail cmdlet gets usage details of the subscription.
PARAMETERS
-BillingPeriodName <String>
Name of a specific billing period to get the usage details that associate with.
Required? true
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-DefaultProfile <IAzureContextContainer>
The credentials, account, tenant, and subscription used for communication with azure
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-EndDate <DateTime>
The end date (in UTC) of the usages.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-IncludeAdditionalProperties [<SwitchParameter>]
Include additional properties in the usages.
Required? false
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false
-IncludeMeterDetails [<SwitchParameter>]
Include meter details in the usages.
Required? false
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false
-InvoiceName <String>
Name of a specific invoice to get the usage details that associate with.
Required? true
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-MaxCount <Int32>
Determine the maximum number of records to return.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-StartDate <DateTime>
The start date (in UTC) of the usages.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
None
OUTPUTS
System.Collections.Generic.List`1[[Microsoft.Azure.Commands.Consumption.Models.PSUsageDetail, Microsoft.Azure.Commands.Consumption,
Version=0.1.0.0, Culture=neutral, PublicKeyToken=null]]
NOTES
Example 1
PS C:\\> Get-AzureRmConsumptionUsageDetail -IncludeMeterDetails -InvoiceName 201704-117283130069214
Get usage details of the invoice with specified name, and include MeterDetails property in the result.
Example 2
PS C:\\> Get-AzureRmConsumptionUsageDetail -IncludeAdditionalProperties -BillingPeriodName 201704-1
Get usage details of the billing period with specified name, and include AdditionalProperties property in the result.
Example 3
PS C:\\> Get-AzureRmConsumptionUsageDetail -StartDate 2017-01-17 -EndDate 2017-01-19
Get usage details of the subscription that is between 2017-01-17 to 2017-01-19.
RELATED LINKS
Online Version: https://docs.microsoft.com/en-us/powers ... sagedetail
SYNOPSIS
Get usage details of the subscription.
SYNTAX
Get-AzureRmConsumptionUsageDetail -BillingPeriodName <String> [-DefaultProfile <IAzureContextContainer>] [-EndDate <DateTime>]
[-IncludeAdditionalProperties] [-IncludeMeterDetails] [-MaxCount <Int32>] [-StartDate <DateTime>] [<CommonParameters>]
Get-AzureRmConsumptionUsageDetail [-DefaultProfile <IAzureContextContainer>] [-EndDate <DateTime>] [-IncludeAdditionalProperties]
[-IncludeMeterDetails] -InvoiceName <String> [-MaxCount <Int32>] [-StartDate <DateTime>] [<CommonParameters>]
DESCRIPTION
The Get-AzureRmConsumptionUsageDetail cmdlet gets usage details of the subscription.
PARAMETERS
-BillingPeriodName <String>
Name of a specific billing period to get the usage details that associate with.
Required? true
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-DefaultProfile <IAzureContextContainer>
The credentials, account, tenant, and subscription used for communication with azure
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-EndDate <DateTime>
The end date (in UTC) of the usages.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-IncludeAdditionalProperties [<SwitchParameter>]
Include additional properties in the usages.
Required? false
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false
-IncludeMeterDetails [<SwitchParameter>]
Include meter details in the usages.
Required? false
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false
-InvoiceName <String>
Name of a specific invoice to get the usage details that associate with.
Required? true
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-MaxCount <Int32>
Determine the maximum number of records to return.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-StartDate <DateTime>
The start date (in UTC) of the usages.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
None
OUTPUTS
System.Collections.Generic.List`1[[Microsoft.Azure.Commands.Consumption.Models.PSUsageDetail, Microsoft.Azure.Commands.Consumption,
Version=0.1.0.0, Culture=neutral, PublicKeyToken=null]]
NOTES
Example 1
PS C:\\> Get-AzureRmConsumptionUsageDetail -IncludeMeterDetails -InvoiceName 201704-117283130069214
Get usage details of the invoice with specified name, and include MeterDetails property in the result.
Example 2
PS C:\\> Get-AzureRmConsumptionUsageDetail -IncludeAdditionalProperties -BillingPeriodName 201704-1
Get usage details of the billing period with specified name, and include AdditionalProperties property in the result.
Example 3
PS C:\\> Get-AzureRmConsumptionUsageDetail -StartDate 2017-01-17 -EndDate 2017-01-19
Get usage details of the subscription that is between 2017-01-17 to 2017-01-19.
RELATED LINKS
Online Version: https://docs.microsoft.com/en-us/powers ... sagedetail