共用方式為


QueryStatistic Constructors

Definition

Overloads

QueryStatistic()

Initializes a new instance of the QueryStatistic class.

QueryStatistic(String, String, String, String, Nullable<DateTime>, Nullable<DateTime>, String, IList<String>, Nullable<Int64>, String, String, Nullable<Double>, String)

Initializes a new instance of the QueryStatistic class.

QueryStatistic()

Initializes a new instance of the QueryStatistic class.

public QueryStatistic ();
Public Sub New ()

Applies to

QueryStatistic(String, String, String, String, Nullable<DateTime>, Nullable<DateTime>, String, IList<String>, Nullable<Int64>, String, String, Nullable<Double>, String)

Initializes a new instance of the QueryStatistic class.

public QueryStatistic (string id = default, string name = default, string type = default, string queryId = default, DateTime? startTime = default, DateTime? endTime = default, string aggregationFunction = default, System.Collections.Generic.IList<string> databaseNames = default, long? queryExecutionCount = default, string metricName = default, string metricDisplayName = default, double? metricValue = default, string metricValueUnit = default);
new Microsoft.Azure.Management.MySQL.Models.QueryStatistic : string * string * string * string * Nullable<DateTime> * Nullable<DateTime> * string * System.Collections.Generic.IList<string> * Nullable<int64> * string * string * Nullable<double> * string -> Microsoft.Azure.Management.MySQL.Models.QueryStatistic
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional queryId As String = Nothing, Optional startTime As Nullable(Of DateTime) = Nothing, Optional endTime As Nullable(Of DateTime) = Nothing, Optional aggregationFunction As String = Nothing, Optional databaseNames As IList(Of String) = Nothing, Optional queryExecutionCount As Nullable(Of Long) = Nothing, Optional metricName As String = Nothing, Optional metricDisplayName As String = Nothing, Optional metricValue As Nullable(Of Double) = Nothing, Optional metricValueUnit As String = Nothing)

Parameters

id
String

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

name
String

The name of the resource

type
String

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

queryId
String

Database query identifier.

startTime
Nullable<DateTime>

Observation start time.

endTime
Nullable<DateTime>

Observation end time.

aggregationFunction
String

Aggregation function name.

databaseNames
IList<String>

The list of database names.

queryExecutionCount
Nullable<Int64>

Number of query executions in this time interval.

metricName
String

Metric name.

metricDisplayName
String

Metric display name.

metricValue
Nullable<Double>

Metric value.

metricValueUnit
String

Metric value unit.

Applies to