Class SloUsageMetric
- java.lang.Object
-
- com.azure.resourcemanager.sql.models.SloUsageMetric
-
public final class SloUsageMetric extends Object
A Slo Usage Metric.
-
-
Constructor Summary
Constructors Constructor Description SloUsageMetric()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DoubleinRangeTimeRatio()Get the inRangeTimeRatio property: Gets or sets inRangeTimeRatio for SLO usage metric.ServiceObjectiveNameserviceLevelObjective()Get the serviceLevelObjective property: The serviceLevelObjective for SLO usage metric.UUIDserviceLevelObjectiveId()Get the serviceLevelObjectiveId property: The serviceLevelObjectiveId for SLO usage metric.voidvalidate()Validates the instance.
-
-
-
Method Detail
-
serviceLevelObjective
public ServiceObjectiveName serviceLevelObjective()
Get the serviceLevelObjective property: The serviceLevelObjective for SLO usage metric.- Returns:
- the serviceLevelObjective value.
-
serviceLevelObjectiveId
public UUID serviceLevelObjectiveId()
Get the serviceLevelObjectiveId property: The serviceLevelObjectiveId for SLO usage metric.- Returns:
- the serviceLevelObjectiveId value.
-
inRangeTimeRatio
public Double inRangeTimeRatio()
Get the inRangeTimeRatio property: Gets or sets inRangeTimeRatio for SLO usage metric.- Returns:
- the inRangeTimeRatio value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-