ArmSqlModelFactory.TopQueries Method
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.
Initializes a new instance of TopQueries.
public static Azure.ResourceManager.Sql.Models.TopQueries TopQueries (int? numberOfQueries = default, string aggregationFunction = default, string observationMetric = default, Azure.ResourceManager.Sql.Models.QueryTimeGrainType? intervalType = default, string startTime = default, string endTime = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Sql.Models.QueryStatisticsProperties> queries = default);
static member TopQueries : Nullable<int> * string * string * Nullable<Azure.ResourceManager.Sql.Models.QueryTimeGrainType> * string * string * seq<Azure.ResourceManager.Sql.Models.QueryStatisticsProperties> -> Azure.ResourceManager.Sql.Models.TopQueries
Public Shared Function TopQueries (Optional numberOfQueries As Nullable(Of Integer) = Nothing, Optional aggregationFunction As String = Nothing, Optional observationMetric As String = Nothing, Optional intervalType As Nullable(Of QueryTimeGrainType) = Nothing, Optional startTime As String = Nothing, Optional endTime As String = Nothing, Optional queries As IEnumerable(Of QueryStatisticsProperties) = Nothing) As TopQueries
Parameters
- aggregationFunction
- String
Aggregation function used to calculate query metrics.
- observationMetric
- String
Metric used to rank queries.
- intervalType
- Nullable<QueryTimeGrainType>
Interval type (length).
- startTime
- String
The start time for the metric (ISO-8601 format).
- endTime
- String
The end time for the metric (ISO-8601 format).
- queries
- IEnumerable<QueryStatisticsProperties>
List of top resource consuming queries with appropriate metric data.
Returns
A new TopQueries instance for mocking.
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Azure SDK for .NET