UsageInner Class
- java.
lang. Object - com.
azure. resourcemanager. sql. fluent. models. UsageInner
- com.
Implements
public final class UsageInner
implements JsonSerializable<UsageInner>
ARM usage.
Constructor Summary
Constructor | Description |
---|---|
UsageInner() |
Creates an instance of Usage |
Method Summary
Modifier and Type | Method and Description |
---|---|
Integer |
currentValue()
Get the current |
static
Usage |
fromJson(JsonReader jsonReader)
Reads an instance of Usage |
String |
id()
Get the id property: Resource ID. |
Integer |
limit()
Get the limit property: Usage limit. |
Name |
name()
Get the name property: Resource name. |
Integer |
requestedLimit()
Get the requested |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: Resource type. |
String |
unit()
Get the unit property: Usage unit. |
void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Constructor Details
UsageInner
public UsageInner()
Creates an instance of UsageInner class.
Method Details
currentValue
public Integer currentValue()
Get the currentValue property: Usage current value.
Returns:
fromJson
public static UsageInner fromJson(JsonReader jsonReader)
Reads an instance of UsageInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Resource ID.
Returns:
limit
public Integer limit()
Get the limit property: Usage limit.
Returns:
name
public Name name()
Get the name property: Resource name.
Returns:
requestedLimit
public Integer requestedLimit()
Get the requestedLimit property: Usage requested limit.
Returns:
toJson
type
public String type()
Get the type property: Resource type.
Returns:
unit
public String unit()
Get the unit property: Usage unit.
Returns:
validate
public void validate()
Validates the instance.
Applies to
Azure SDK for Java