ServerUsageInner Class
- java.
lang. Object - com.
azure. resourcemanager. sql. fluent. models. ServerUsageInner
- com.
Implements
public final class ServerUsageInner
implements JsonSerializable<ServerUsageInner>
Represents server metrics.
Constructor Summary
| Constructor | Description |
|---|---|
| ServerUsageInner() |
Creates an instance of Server |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Double |
currentValue()
Get the current |
| String |
displayName()
Get the display |
|
static
Server |
fromJson(JsonReader jsonReader)
Reads an instance of Server |
| Double |
limit()
Get the limit property: The current limit of the metric. |
| String |
name()
Get the name property: Name of the server usage metric. |
|
Offset |
nextResetTime()
Get the next |
| String |
resourceName()
Get the resource |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
unit()
Get the unit property: The units of the metric. |
| void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Constructor Details
ServerUsageInner
public ServerUsageInner()
Creates an instance of ServerUsageInner class.
Method Details
currentValue
public Double currentValue()
Get the currentValue property: The current value of the metric.
Returns:
displayName
public String displayName()
Get the displayName property: The metric display name.
Returns:
fromJson
public static ServerUsageInner fromJson(JsonReader jsonReader)
Reads an instance of ServerUsageInner from the JsonReader.
Parameters:
Returns:
Throws:
limit
public Double limit()
Get the limit property: The current limit of the metric.
Returns:
name
public String name()
Get the name property: Name of the server usage metric.
Returns:
nextResetTime
public OffsetDateTime nextResetTime()
Get the nextResetTime property: The next reset time for the metric (ISO8601 format).
Returns:
resourceName
public String resourceName()
Get the resourceName property: The name of the resource.
Returns:
toJson
unit
public String unit()
Get the unit property: The units of the metric.
Returns:
validate
public void validate()
Validates the instance.