Share via


ArmMySqlModelFactory.MySqlWaitStatisticData Method

Definition

Initializes a new instance of MySqlWaitStatisticData.

public static Azure.ResourceManager.MySql.MySqlWaitStatisticData MySqlWaitStatisticData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, DateTimeOffset? startOn = default, DateTimeOffset? endOn = default, string eventName = default, string eventTypeName = default, long? queryId = default, string databaseName = default, long? userId = default, long? count = default, double? totalTimeInMinutes = default);
static member MySqlWaitStatisticData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * string * string * Nullable<int64> * string * Nullable<int64> * Nullable<int64> * Nullable<double> -> Azure.ResourceManager.MySql.MySqlWaitStatisticData
Public Shared Function MySqlWaitStatisticData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional startOn As Nullable(Of DateTimeOffset) = Nothing, Optional endOn As Nullable(Of DateTimeOffset) = Nothing, Optional eventName As String = Nothing, Optional eventTypeName As String = Nothing, Optional queryId As Nullable(Of Long) = Nothing, Optional databaseName As String = Nothing, Optional userId As Nullable(Of Long) = Nothing, Optional count As Nullable(Of Long) = Nothing, Optional totalTimeInMinutes As Nullable(Of Double) = Nothing) As MySqlWaitStatisticData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

startOn
Nullable<DateTimeOffset>

Observation start time.

endOn
Nullable<DateTimeOffset>

Observation end time.

eventName
String

Wait event name.

eventTypeName
String

Wait event type name.

queryId
Nullable<Int64>

Database query identifier.

databaseName
String

Database Name.

userId
Nullable<Int64>

Database user identifier.

count
Nullable<Int64>

Wait event count observed in this time interval.

totalTimeInMinutes
Nullable<Double>

Total time of wait in milliseconds in this time interval.

Returns

A new MySqlWaitStatisticData instance for mocking.

Applies to