Delen via


ArmMySqlModelFactory.MySqlQueryStatisticData Method

Definition

Initializes a new instance of MySqlQueryStatisticData.

public static Azure.ResourceManager.MySql.MySqlQueryStatisticData MySqlQueryStatisticData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string queryId = default, DateTimeOffset? startOn = default, DateTimeOffset? endOn = default, string aggregationFunction = default, System.Collections.Generic.IEnumerable<string> databaseNames = default, long? queryExecutionCount = default, string metricName = default, string metricDisplayName = default, double? metricValue = default, string metricValueUnit = default);
static member MySqlQueryStatisticData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * string * seq<string> * Nullable<int64> * string * string * Nullable<double> * string -> Azure.ResourceManager.MySql.MySqlQueryStatisticData
Public Shared Function MySqlQueryStatisticData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional queryId As String = Nothing, Optional startOn As Nullable(Of DateTimeOffset) = Nothing, Optional endOn As Nullable(Of DateTimeOffset) = Nothing, Optional aggregationFunction As String = Nothing, Optional databaseNames As IEnumerable(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) As MySqlQueryStatisticData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

queryId
String

Database query identifier.

startOn
Nullable<DateTimeOffset>

Observation start time.

endOn
Nullable<DateTimeOffset>

Observation end time.

aggregationFunction
String

Aggregation function name.

databaseNames
IEnumerable<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.

Returns

A new MySqlQueryStatisticData instance for mocking.

Applies to