UsageInner Class
- java.
lang. Object - com.
azure. resourcemanager. storage. fluent. models. UsageInner
- com.
Implements
public final class UsageInner
implements JsonSerializable<UsageInner>
Describes Storage Resource 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 |
Integer |
limit()
Get the limit property: Gets the maximum count of the resources that can be allocated in the subscription. |
Usage |
name()
Get the name property: Gets the name of the type of usage. |
Json |
toJson(JsonWriter jsonWriter) |
Usage |
unit()
Get the unit property: Gets the unit of measurement. |
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: Gets the current count of the allocated resources in the subscription.
Returns:
fromJson
public static UsageInner fromJson(JsonReader jsonReader)
Reads an instance of UsageInner from the JsonReader.
Parameters:
Returns:
Throws:
limit
public Integer limit()
Get the limit property: Gets the maximum count of the resources that can be allocated in the subscription.
Returns:
name
public UsageName name()
Get the name property: Gets the name of the type of usage.
Returns:
toJson
unit
public UsageUnit unit()
Get the unit property: Gets the unit of measurement.
Returns:
validate
public void validate()
Validates the instance.
Applies to
Azure SDK for Java