Share via


TopQueries Constructors

Definition

Overloads

TopQueries()

Initializes a new instance of the TopQueries class.

TopQueries(Nullable<QueryAggregationFunction>, Nullable<QueryExecutionType>, String, Nullable<Double>, Nullable<DateTime>, Nullable<DateTime>, Nullable<QueryObservedMetricType>, IList<QueryStatistic>)

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<QueryAggregationFunction>, Nullable<QueryExecutionType>, String, Nullable<Double>, Nullable<DateTime>, Nullable<DateTime>, Nullable<QueryObservedMetricType>, IList<QueryStatistic>)

Initializes a new instance of the TopQueries class.

public TopQueries (Microsoft.Azure.Management.Synapse.Models.QueryAggregationFunction? aggregationFunction = default, Microsoft.Azure.Management.Synapse.Models.QueryExecutionType? executionType = default, string intervalType = default, double? numberOfTopQueries = default, DateTime? observationStartTime = default, DateTime? observationEndTime = default, Microsoft.Azure.Management.Synapse.Models.QueryObservedMetricType? observedMetric = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Synapse.Models.QueryStatistic> queries = default);
new Microsoft.Azure.Management.Synapse.Models.TopQueries : Nullable<Microsoft.Azure.Management.Synapse.Models.QueryAggregationFunction> * Nullable<Microsoft.Azure.Management.Synapse.Models.QueryExecutionType> * string * Nullable<double> * Nullable<DateTime> * Nullable<DateTime> * Nullable<Microsoft.Azure.Management.Synapse.Models.QueryObservedMetricType> * System.Collections.Generic.IList<Microsoft.Azure.Management.Synapse.Models.QueryStatistic> -> Microsoft.Azure.Management.Synapse.Models.TopQueries
Public Sub New (Optional aggregationFunction As Nullable(Of QueryAggregationFunction) = Nothing, Optional executionType As Nullable(Of QueryExecutionType) = Nothing, Optional intervalType As String = Nothing, Optional numberOfTopQueries As Nullable(Of Double) = Nothing, Optional observationStartTime As Nullable(Of DateTime) = Nothing, Optional observationEndTime As Nullable(Of DateTime) = Nothing, Optional observedMetric As Nullable(Of QueryObservedMetricType) = Nothing, Optional queries As IList(Of QueryStatistic) = Nothing)

Parameters

aggregationFunction
Nullable<QueryAggregationFunction>

The function that is used to aggregate each query's metrics. Possible values include: 'min', 'max', 'avg', 'sum'

executionType
Nullable<QueryExecutionType>

The execution type that is used to filter the query instances that are returned. Possible values include: 'any', 'regular', 'irregular', 'aborted', 'exception'

intervalType
String

The duration of the interval (ISO8601 duration format).

numberOfTopQueries
Nullable<Double>

The number of requested queries.

observationStartTime
Nullable<DateTime>

The start time for queries that are returned (ISO8601 format)

observationEndTime
Nullable<DateTime>

The end time for queries that are returned (ISO8601 format)

observedMetric
Nullable<QueryObservedMetricType>

The type of metric to use for ordering the top metrics. Possible values include: 'cpu', 'io', 'logio', 'duration', 'executionCount'

queries
IList<QueryStatistic>

The list of queries.

Applies to