TopQueries Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
TopQueries() |
Initializes a new instance of the TopQueries class. |
TopQueries(Nullable<Int32>, String, String, String, String, String, IList<QueryStatisticsProperties>) |
Initializes a new instance of the TopQueries class. |
TopQueries()
Initializes a new instance of the TopQueries class.
public TopQueries ();
Public Sub New ()
Applies to
TopQueries(Nullable<Int32>, String, String, String, String, String, IList<QueryStatisticsProperties>)
Initializes a new instance of the TopQueries class.
public TopQueries (int? numberOfQueries = default, string aggregationFunction = default, string observationMetric = default, string intervalType = default, string startTime = default, string endTime = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Sql.Models.QueryStatisticsProperties> queries = default);
new Microsoft.Azure.Management.Sql.Models.TopQueries : Nullable<int> * string * string * string * string * string * System.Collections.Generic.IList<Microsoft.Azure.Management.Sql.Models.QueryStatisticsProperties> -> Microsoft.Azure.Management.Sql.Models.TopQueries
Public Sub New (Optional numberOfQueries As Nullable(Of Integer) = Nothing, Optional aggregationFunction As String = Nothing, Optional observationMetric As String = Nothing, Optional intervalType As String = Nothing, Optional startTime As String = Nothing, Optional endTime As String = Nothing, Optional queries As IList(Of QueryStatisticsProperties) = Nothing)
Parameters
- aggregationFunction
- String
Aggregation function used to calculate query metrics.
- observationMetric
- String
Metric used to rank queries.
- intervalType
- String
Interval type (length). Possible values include: 'PT1H', 'P1D'
- startTime
- String
The start time for the metric (ISO-8601 format).
- endTime
- String
The end time for the metric (ISO-8601 format).
- queries
- IList<QueryStatisticsProperties>
List of top resource consuming queries with appropriate metric data
Applies to
Azure SDK for .NET