SubscriptionUsageProperties Class
- java.
lang. Object - com.
azure. resourcemanager. sql. fluent. models. SubscriptionUsageProperties
- com.
Implements
public final class SubscriptionUsageProperties
implements JsonSerializable<SubscriptionUsageProperties>
Properties of a subscription usage.
Constructor Summary
| Constructor | Description |
|---|---|
| SubscriptionUsageProperties() |
Creates an instance of Subscription |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Double |
currentValue()
Get the current |
| String |
displayName()
Get the display |
|
static
Subscription |
fromJson(JsonReader jsonReader)
Reads an instance of Subscription |
| 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
SubscriptionUsageProperties
public SubscriptionUsageProperties()
Creates an instance of SubscriptionUsageProperties 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 SubscriptionUsageProperties fromJson(JsonReader jsonReader)
Reads an instance of SubscriptionUsageProperties 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.