File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
src/ResourceManager/Insights/Commands.Insights Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -93,9 +93,9 @@ public class GetAzureRmLogCommand : LogsCmdletBase
93
93
/// Gets or sets the max number of records to fetch parameter of the cmdlet
94
94
/// </summary>
95
95
[ Parameter ( ValueFromPipelineByPropertyName = true , HelpMessage = "The maximum number of records to fetch. Alias: MaxEvents for backwards compatibility" ) ]
96
- [ Alias ( "MaxEvents " ) ]
96
+ [ Alias ( "MaxRecords " ) ]
97
97
[ ValidateNotNullOrEmpty ]
98
- public virtual int MaxRecords { get ; set ; }
98
+ public virtual int MaxEvents { get ; set ; }
99
99
100
100
/// <summary>
101
101
/// Process the parameters defined by this class (a.k.a. particular parameters)
@@ -104,7 +104,7 @@ public class GetAzureRmLogCommand : LogsCmdletBase
104
104
/// <returns>The query filter with the conditions for particular parameters added</returns>
105
105
protected override string ProcessParticularParameters ( string currentQueryFilter )
106
106
{
107
- this . SetMaxEventsIfPresent ( currentQueryFilter , this . MaxRecords ) ;
107
+ this . SetMaxEventsIfPresent ( currentQueryFilter , this . MaxEvents ) ;
108
108
109
109
string extendedQuery = this . AddConditionIfPResent ( currentQueryFilter , "correlationId" , this . CorrelationId ) ;
110
110
extendedQuery = this . AddConditionIfPResent ( extendedQuery , "resourceGroupName" , this . ResourceGroup ) ;
Original file line number Diff line number Diff line change @@ -259,14 +259,14 @@ Accept pipeline input: True (ByPropertyName)
259
259
Accept wildcard characters : False
260
260
` ` `
261
261
262
- ### -MaxRecords
262
+ ### -MaxEvents
263
263
Specifies the total number of records to fetch for the specified filter.
264
264
The default value is 1000 and the maximum value accepted is 100000. Negative values and 0 are ignored and the default value will be used.
265
265
266
266
` ` ` yaml
267
267
Type : Int32
268
268
Parameter Sets : (All)
269
- Aliases : MaxEvents
269
+ Aliases : MaxRecords
270
270
271
271
Required : False
272
272
Position : Named
You can’t perform that action at this time.
0 commit comments