Delen via


RecommendedActionMetricInfo Constructors

Definition

Overloads

RecommendedActionMetricInfo()

Initializes a new instance of the RecommendedActionMetricInfo class.

RecommendedActionMetricInfo(String, String, String, Nullable<DateTime>, Nullable<Double>)

Initializes a new instance of the RecommendedActionMetricInfo class.

RecommendedActionMetricInfo()

Initializes a new instance of the RecommendedActionMetricInfo class.

public RecommendedActionMetricInfo ();
Public Sub New ()

Applies to

RecommendedActionMetricInfo(String, String, String, Nullable<DateTime>, Nullable<Double>)

Initializes a new instance of the RecommendedActionMetricInfo class.

public RecommendedActionMetricInfo (string metricName = default, string unit = default, string timeGrain = default, DateTime? startTime = default, double? value = default);
new Microsoft.Azure.Management.Sql.Models.RecommendedActionMetricInfo : string * string * string * Nullable<DateTime> * Nullable<double> -> Microsoft.Azure.Management.Sql.Models.RecommendedActionMetricInfo
Public Sub New (Optional metricName As String = Nothing, Optional unit As String = Nothing, Optional timeGrain As String = Nothing, Optional startTime As Nullable(Of DateTime) = Nothing, Optional value As Nullable(Of Double) = Nothing)

Parameters

metricName
String

Gets the name of the metric. e.g., CPU, Number of Queries.

unit
String

Gets the unit in which metric is measured. e.g., DTU, Frequency

timeGrain
String

Gets the duration of time interval for the value given by this MetricInfo. e.g., PT1H (1 hour)

startTime
Nullable<DateTime>

Gets the start time of time interval given by this MetricInfo.

value
Nullable<Double>

Gets the value of the metric in the time interval given by this MetricInfo.

Applies to