Share via


QueryStatistics Constructors

Definition

Overloads

QueryStatistics()

Initializes a new instance of the QueryStatistics class.

QueryStatistics(String, String, String, String, String, String, String, IList<QueryMetricInterval>)

Initializes a new instance of the QueryStatistics class.

QueryStatistics()

Initializes a new instance of the QueryStatistics class.

public QueryStatistics ();
Public Sub New ()

Applies to

QueryStatistics(String, String, String, String, String, String, String, IList<QueryMetricInterval>)

Initializes a new instance of the QueryStatistics class.

public QueryStatistics (string id = default, string name = default, string type = default, string databaseName = default, string queryId = default, string startTime = default, string endTime = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Sql.Models.QueryMetricInterval> intervals = default);
new Microsoft.Azure.Management.Sql.Models.QueryStatistics : string * string * string * string * string * string * string * System.Collections.Generic.IList<Microsoft.Azure.Management.Sql.Models.QueryMetricInterval> -> Microsoft.Azure.Management.Sql.Models.QueryStatistics
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional databaseName As String = Nothing, Optional queryId As String = Nothing, Optional startTime As String = Nothing, Optional endTime As String = Nothing, Optional intervals As IList(Of QueryMetricInterval) = Nothing)

Parameters

id
String

Resource ID.

name
String

Resource name.

type
String

Resource type.

databaseName
String

Database name of the database in which this query was executed.

queryId
String

Unique query id (unique within one database).

startTime
String

The start time for the metric (ISO-8601 format).

endTime
String

The end time for the metric (ISO-8601 format).

intervals
IList<QueryMetricInterval>

List of intervals with appropriate metric data

Applies to