Class QueryMetricProperties
java.lang.Object
com.azure.resourcemanager.sql.models.QueryMetricProperties
Properties of a topquery metric in one interval.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionavg()Get the avg property: Metric value when avg() aggregate function is used over the interval.Get the displayName property: The UI appropriate name for the metric.max()Get the max property: Metric value when max() aggregate function is used over the interval.min()Get the min property: Metric value when min() aggregate function is used over the interval.name()Get the name property: The name information for the metric.stdev()Get the stdev property: Metric value when stdev aggregate function is used over the interval.sum()Get the sum property: Metric value when sum() aggregate function is used over the interval.unit()Get the unit property: The unit of the metric.voidvalidate()Validates the instance.value()Get the value property: The value of the metric.
-
Constructor Details
-
QueryMetricProperties
public QueryMetricProperties()Creates an instance of QueryMetricProperties class.
-
-
Method Details
-
name
Get the name property: The name information for the metric.- Returns:
- the name value.
-
displayName
Get the displayName property: The UI appropriate name for the metric.- Returns:
- the displayName value.
-
unit
Get the unit property: The unit of the metric.- Returns:
- the unit value.
-
value
Get the value property: The value of the metric.- Returns:
- the value value.
-
min
Get the min property: Metric value when min() aggregate function is used over the interval.- Returns:
- the min value.
-
max
Get the max property: Metric value when max() aggregate function is used over the interval.- Returns:
- the max value.
-
avg
Get the avg property: Metric value when avg() aggregate function is used over the interval.- Returns:
- the avg value.
-
sum
Get the sum property: Metric value when sum() aggregate function is used over the interval.- Returns:
- the sum value.
-
stdev
Get the stdev property: Metric value when stdev aggregate function is used over the interval.- Returns:
- the stdev value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-