Class ServerUsageInner
- java.lang.Object
-
- com.azure.resourcemanager.sql.fluent.models.ServerUsageInner
-
public final class ServerUsageInner extends Object
Represents server metrics.
-
-
Constructor Summary
Constructors Constructor Description ServerUsageInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DoublecurrentValue()Get the currentValue property: The current value of the metric.StringdisplayName()Get the displayName property: The metric display name.Doublelimit()Get the limit property: The current limit of the metric.Stringname()Get the name property: Name of the server usage metric.OffsetDateTimenextResetTime()Get the nextResetTime property: The next reset time for the metric (ISO8601 format).StringresourceName()Get the resourceName property: The name of the resource.Stringunit()Get the unit property: The units of the metric.voidvalidate()Validates the instance.
-
-
-
Method Detail
-
name
public String name()
Get the name property: Name of the server usage metric.- Returns:
- the name value.
-
resourceName
public String resourceName()
Get the resourceName property: The name of the resource.- Returns:
- the resourceName value.
-
displayName
public String displayName()
Get the displayName property: The metric display name.- Returns:
- the displayName value.
-
currentValue
public Double currentValue()
Get the currentValue property: The current value of the metric.- Returns:
- the currentValue value.
-
limit
public Double limit()
Get the limit property: The current limit of the metric.- Returns:
- the limit value.
-
unit
public String unit()
Get the unit property: The units of the metric.- Returns:
- the unit value.
-
nextResetTime
public OffsetDateTime nextResetTime()
Get the nextResetTime property: The next reset time for the metric (ISO8601 format).- Returns:
- the nextResetTime value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-