ServerUsageProperties Class
- java.
lang. Object - com.
azure. resourcemanager. sql. fluent. models. ServerUsageProperties
- com.
Implements
public final class ServerUsageProperties
implements JsonSerializable<ServerUsageProperties>
Properties of a server usage.
Constructor Summary
| Constructor | Description |
|---|---|
| ServerUsageProperties() |
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: Boundary value of the metric. |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
unit()
Get the unit property: Unit of the metric. |
| void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Constructor Details
ServerUsageProperties
public ServerUsageProperties()
Creates an instance of ServerUsageProperties class.
Method Details
currentValue
public Double currentValue()
Get the currentValue property: Current value of the metric.
Returns:
displayName
public String displayName()
Get the displayName property: User-readable name of the metric.
Returns:
fromJson
public static ServerUsageProperties fromJson(JsonReader jsonReader)
Reads an instance of ServerUsageProperties from the JsonReader.
Parameters:
Returns:
Throws:
limit
public Double limit()
Get the limit property: Boundary value of the metric.
Returns:
toJson
unit
public String unit()
Get the unit property: Unit of the metric.
Returns:
validate
public void validate()
Validates the instance.