Skip to content

Commit db579db

Browse files
committed
updated help file correctly for Get-UsageAggregates
1 parent 0ec0008 commit db579db

File tree

2 files changed

+41
-1067
lines changed

2 files changed

+41
-1067
lines changed

src/ResourceManager/Commerce/Commands.UsageAggregates/GetUsageAggregatesCommand.cs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,25 +28,25 @@ namespace Microsoft.Azure.Commands.UsageAggregates
2828
public class GetUsageAggregatesCommand : AzurePSCmdlet
2929
{
3030
private UsageAggregationManagementClient _theClient;
31-
31+
private AggregationGranularity _aggregationGranularity = AggregationGranularity.Daily;
32+
private bool _showDetails = true;
33+
3234
[Parameter(Mandatory = true, HelpMessage = "The start of the time range to retrieve data for.")]
3335
public DateTime ReportedStartTime { get; set; }
3436

3537
[Parameter(Mandatory = true, HelpMessage = "The end of the time range to retrieve data for.")]
3638
public DateTime ReportedEndTime { get; set; }
3739

38-
private AggregationGranularity aggregationGranularity = AggregationGranularity.Daily;
3940
[Parameter(Mandatory = false, HelpMessage = "Value is either daily (default) or hourly to tell the API how to return the results grouped by day or hour.")]
4041
public AggregationGranularity AggregationGranularity {
41-
get { return aggregationGranularity; }
42-
set { aggregationGranularity = value;}
42+
get { return _aggregationGranularity; }
43+
set { _aggregationGranularity = value;}
4344
}
4445

45-
private bool showDetails = true;
4646
[Parameter(Mandatory = false, HelpMessage = "When set to true (default), the aggregates are broken down into the instance metadata which is more granular.")]
4747
public bool ShowDetails {
48-
get { return showDetails; }
49-
set { showDetails = value; }
48+
get { return _showDetails; }
49+
set { _showDetails = value; }
5050
}
5151

5252
[Parameter(Mandatory = false, HelpMessage = "Retrieved from previous calls, this is the bookmark used for progress when the responses are paged.")]

0 commit comments

Comments
 (0)