RecommendedActionMetricInfo Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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)
Applies to
Azure SDK for .NET