Class MetricAvailability
- java.lang.Object
-
- com.azure.resourcemanager.sql.models.MetricAvailability
-
public final class MetricAvailability extends Object
A metric availability value.
-
-
Constructor Summary
Constructors Constructor Description MetricAvailability()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringretention()Get the retention property: The length of retention for the database metric.StringtimeGrain()Get the timeGrain property: The granularity of the database metric.voidvalidate()Validates the instance.
-
-
-
Method Detail
-
retention
public String retention()
Get the retention property: The length of retention for the database metric.- Returns:
- the retention value.
-
timeGrain
public String timeGrain()
Get the timeGrain property: The granularity of the database metric.- Returns:
- the timeGrain value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-