Class MetricAvailability
java.lang.Object
com.azure.resourcemanager.cosmos.models.MetricAvailability
The availability of the metric.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
MetricAvailability
public MetricAvailability()Creates an instance of MetricAvailability class.
-
-
Method Details
-
timeGrain
Get the timeGrain property: The time grain to be used to summarize the metric values.- Returns:
- the timeGrain value.
-
retention
Get the retention property: The retention for the metric values.- Returns:
- the retention value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-